[ 
https://issues.apache.org/jira/browse/YARN-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Prakash updated YARN-379:
------------------------------

    Attachment: YARN-379.patch

This patch sets the log level to WARN for console.

I tested by building cleanly after the patch and bringing up the daemons. The 
log and out files for the daemons are still at info level and the yarn commands 
are at WARN level.

Could someone please review and check it in?
                
> 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
>         Attachments: YARN-379.patch, YARN-379.patch
>
>
> 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

Reply via email to