Repository: hadoop Updated Branches: refs/heads/trunk 6fbfb501f -> b4a8fbcbb
YARN-5172. Update yarn daemonlog documentation due to HADOOP-12847. Contributed by Wei-Chiu Chuang Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b4a8fbcb Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b4a8fbcb Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b4a8fbcb Branch: refs/heads/trunk Commit: b4a8fbcbbc5ea4ab3087ecf913839a53f32be113 Parents: 6fbfb50 Author: Jason Lowe <jl...@apache.org> Authored: Thu Oct 27 19:41:43 2016 +0000 Committer: Jason Lowe <jl...@apache.org> Committed: Thu Oct 27 19:43:02 2016 +0000 ---------------------------------------------------------------------- .../src/site/markdown/YarnCommands.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/b4a8fbcb/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md index 2c38967..8f954ff 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md @@ -173,21 +173,8 @@ Commands useful for administrators of a Hadoop cluster. ### `daemonlog` -Usage: - -``` - yarn daemonlog -getlevel <host:httpport> <classname> - yarn daemonlog -setlevel <host:httpport> <classname> <level> -``` - -| COMMAND\_OPTIONS | Description | -|:---- |:---- | -| -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: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 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` +Get/Set the log level for a Log identified by a qualified class name in the daemon dynamically. +See the Hadoop [Commands Manual](../../hadoop-project-dist/hadoop-common/CommandsManual.html#daemonlog) for more information. ### `nodemanager` --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org