|
@@ -194,24 +194,27 @@ YARN Commands
|
|
|
Usage:
|
|
|
|
|
|
---------------------------------
|
|
|
- yarn daemonlog -getlevel <host:port> <name>
|
|
|
- yarn daemonlog -setlevel <host:port> <name> <level>
|
|
|
+ yarn daemonlog -getlevel <host:httpport> <classname>
|
|
|
+ yarn daemonlog -setlevel <host:httpport> <classname> <level>
|
|
|
---------------------------------
|
|
|
|
|
|
*---------------+--------------+
|
|
|
|| COMMAND_OPTIONS || Description |
|
|
|
*---------------+--------------+
|
|
|
-| -getlevel \<host:port\> \<name\> | Prints the log level of the daemon running
|
|
|
-| | at \<host:port\>. This command internally connects to
|
|
|
-| | http://\<host:port\>/logLevel?log=\<name\>
|
|
|
+| -getlevel \<host:httpport\> \<classname\> | Prints the log level of the log identified
|
|
|
+| | by a qualified \<classname\>, in the daemon running at \<host:httpport\>. This
|
|
|
+| | command internally connects to http://\<host:httpport\>/logLevel?log=\<classname\>
|
|
|
*---------------+--------------+
|
|
|
-| -setlevel \<host:port\> \<name\> \<level\> | Sets the log level of the daemon
|
|
|
-| | running at \<host:port\>. This command internally connects to
|
|
|
-| | http://\<host:port\>/logLevel?log=\<name\>
|
|
|
+| -setlevel \<host:httpport\> \<classname\> \<level\> | Sets the log level of the log
|
|
|
+| | identified by a qualified \<classname\> in the daemon running at \<host:httpport\>.
|
|
|
+| | This command internally connects to http://\<host:httpport\>/logLevel?log=\<classname\>&level=\<level\>
|
|
|
*---------------+--------------+
|
|
|
|
|
|
- Get/Set the log level for each daemon.
|
|
|
+ Get/Set the log level for a Log identified by a qualified class name in the daemon.
|
|
|
|
|
|
+----
|
|
|
+ Example: $ bin/yarn daemonlog -setlevel 127.0.0.1:8088 org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl DEBUG
|
|
|
+----
|
|
|
|
|
|
** <<<nodemanager>>>
|
|
|
|