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

Vinod Kumar Vavilapalli updated YARN-2301:
------------------------------------------
    Attachment: YARN-2301-branch-2.6.1.txt

Attaching patch that I committed to 2.6.1.

> Improve yarn container command
> ------------------------------
>
>                 Key: YARN-2301
>                 URL: https://issues.apache.org/jira/browse/YARN-2301
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Jian He
>            Assignee: Naganarasimha G R
>              Labels: 2.6.1-candidate, usability
>             Fix For: 2.7.0, 2.6.1
>
>         Attachments: YARN-2301-branch-2.6.1.txt, YARN-2301.01.patch, 
> YARN-2301.03.patch, YARN-2301.20141120-1.patch, YARN-2301.20141203-1.patch, 
> YARN-2301.20141204-1.patch, YARN-2303.patch
>
>
> While running yarn container -list <Application Attempt ID> command, some 
> observations:
> 1) the scheme (e.g. http/https  ) before LOG-URL is missing
> 2) the start-time is printed as milli seconds (e.g. 1405540544844). Better to 
> print as time format.
> 3) finish-time is 0 if container is not yet finished. May be "N/A"
> 4) May have an option to run as yarn container -list <appId> OR  yarn 
> application -list-containers <appId> also.  
> As attempt Id is not shown on console, this is easier for user to just copy 
> the appId and run it, may  also be useful for container-preserving AM 
> restart. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to