Devaraj K commented on YARN-2301:

Here it is trying allocate this memory for heap size. And we need to leave the 
remaing memory for launching the Child container java process, native memory, 

As [~jianhe] mentioned, RM removes the completed containers or containers for 
completed attempts. I think there would not be much useful by providing 
completed appAttemptId for -list param and displaying some message or empty 

I would think of giving appId option for -list (i.e. -list <appId>) and print 
the containers running for current application attempt.

> 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