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 "Naganarasimha G R (JIRA)" <ji...@apache.org> on 2014/11/20 12:27:34 UTC

[jira] [Updated] (YARN-2301) Improve yarn container command

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

Naganarasimha G R updated YARN-2301:
------------------------------------
    Attachment: YARN-2301.20141120-1.patch

bq. NM can setup SSL and so the port can also be https port.
Ok. crosschecked the code, http/https port is set in RMNode.httpport based on configuration. So there should not be any issues

bq. I meant Times.format is internally doing the check.
Ok, corrected

bq.  we may set the conf object in the rmContext and get it from context
Ok, corrected 

> 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
>         Attachments: YARN-2301.01.patch, YARN-2301.03.patch, YARN-2301.20141120-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)