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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2013/08/23 20:09:53 UTC
[jira] [Commented] (YARN-1081) Minor improvement to output header
for $ yarn node -list
[ https://issues.apache.org/jira/browse/YARN-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748803#comment-13748803 ]
Akira AJISAKA commented on YARN-1081:
-------------------------------------
I attached a patch for the proposed output.
> Minor improvement to output header for $ yarn node -list
> --------------------------------------------------------
>
> Key: YARN-1081
> URL: https://issues.apache.org/jira/browse/YARN-1081
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: client
> Reporter: Tassapol Athiapinya
> Priority: Minor
> Labels: newbie
> Fix For: 2.1.0-beta
>
> Attachments: YARN-1081.patch
>
>
> Output of $ yarn node -list shows number of running containers at each node. I found a case when new user of YARN thinks that this is container ID, use it later in other YARN commands and find an error due to misunderstanding.
> {code:title=current output}
> 2013-07-31 04:00:37,814|beaver.machine|INFO|RUNNING: /usr/bin/yarn node -list
> 2013-07-31 04:00:38,746|beaver.machine|INFO|Total Nodes:1
> 2013-07-31 04:00:38,747|beaver.machine|INFO|Node-Id Node-State Node-Http-Address Running-Containers
> 2013-07-31 04:00:38,747|beaver.machine|INFO|myhost:45454 RUNNING myhost:50060 2
> {code}
> {code:title=proposed output}
> 2013-07-31 04:00:37,814|beaver.machine|INFO|RUNNING: /usr/bin/yarn node -list
> 2013-07-31 04:00:38,746|beaver.machine|INFO|Total Nodes:1
> 2013-07-31 04:00:38,747|beaver.machine|INFO|Node-Id Node-State Node-Http-Address Number-of-Running-Containers
> 2013-07-31 04:00:38,747|beaver.machine|INFO|myhost:45454 RUNNING myhost:50060 2
> {code}
--
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