You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ravi Prakash (JIRA)" <ji...@apache.org> on 2013/05/14 20:17:17 UTC

[jira] [Commented] (YARN-379) yarn [node,application] command print logger info messages

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

Ravi Prakash commented on YARN-379:
-----------------------------------

Hi Abhishek,

I recant. I like the patch's approach better. But we already have YARN_CLIENT_OPTS for this. Do you see a reason why we shouldn't add the NoOpLog to YARN_CLIENT_OPTS??

Thanks for your contribution. Lets get 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
>
>
> 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