hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Kapoor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-379) yarn [node,application] command print logger info messages
Date Tue, 26 Feb 2013 16:22:15 GMT

    [ https://issues.apache.org/jira/browse/YARN-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587230#comment-13587230
] 

Abhishek Kapoor commented on YARN-379:
--------------------------------------

The NodeCLI utility does not use log4j instead it uses sysout. 

Changing the above messages from INFO to DEBUG would change the logging level in AbstractService
class which is super class for many services.

If that is okay, then I can go for it and change it.





                
> 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
>
>
> 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

Mime
View raw message