[ https://issues.apache.org/jira/browse/YARN-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586002#comment-13586002 ]
Abhishek Kapoor commented on YARN-379: -------------------------------------- It order to fix this request, two files will be tweaked File name: 1) yarn 2) yarn-env.sh I have added a new OPTS called "COMMON_LOGGING_OPTS" in yarn-env.sh to turn off the unnecessary log info messages. COMMON_LOGGING_OPTS is used into the yarn shell script to turn the log message. Suggestion are welcome > yarn [node,application] command print logger info messages > ---------------------------------------------------------- > > Key: YARN-379 > URL: https://issues.apache.org/jira/browse/YARN-379 > Project: Hadoop YARN > Issue Type: Bug > Components: client > Affects Versions: 2.0.3-alpha > Reporter: Thomas Graves > Assignee: Abhishek Kapoor > Labels: usability > > Running the yarn node and yarn applications command results in annoying log > info messages being printed: > $ yarn node -list > 13/02/06 02:36:50 INFO service.AbstractService: > Service:org.apache.hadoop.yarn.client.YarnClientImpl is inited. > 13/02/06 02:36:50 INFO service.AbstractService: > Service:org.apache.hadoop.yarn.client.YarnClientImpl is started. > Total Nodes:1 > Node-Id Node-State Node-Http-Address > Health-Status(isNodeHealthy) Running-Containers > foo:8041 RUNNING foo:8042 true > 0 > 13/02/06 02:36:50 INFO service.AbstractService: > Service:org.apache.hadoop.yarn.client.YarnClientImpl is stopped. > $ yarn application > 13/02/06 02:38:47 INFO service.AbstractService: > Service:org.apache.hadoop.yarn.client.YarnClientImpl is inited. > 13/02/06 02:38:47 INFO service.AbstractService: > Service:org.apache.hadoop.yarn.client.YarnClientImpl is started. > Invalid Command Usage : > usage: application > -kill <arg> Kills the application. > -list Lists all the Applications from RM. > -status <arg> Prints the status of the application. > 13/02/06 02:38:47 INFO service.AbstractService: > Service:org.apache.hadoop.yarn.client.YarnClientImpl is stopped. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira