Jian He commented on YARN-2301:

bq. How about having -list only, and then parsing whether the given id is app 
id or app attempt id?
I think it's fine to just have -list only.
bq.  is it able to show the containers of previous app attempt, or the finished 
containers of the current app attempt?
finished containers are removed from schedulers. [~Naganarasimha], let's leave 
4) separately as it involves more changes and discussion. could you post your 
patch which fixed the first 3 ? thanks!

> Improve yarn container command
> ------------------------------
>                 Key: YARN-2301
>                 URL: https://issues.apache.org/jira/browse/YARN-2301
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Jian He
>            Assignee: Naganarasimha G R
>              Labels: usability
> 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

Reply via email to