[ 
https://issues.apache.org/jira/browse/YARN-4905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246712#comment-15246712
 ] 

Xuan Gong commented on YARN-4905:
---------------------------------

Thanks for the review. Uploaded a new patch to address all the comments.
Some example outputs:
{code}
yarn logs --applicationId application_1461015870262_0001 -show_meta_info

Container: container_1461015870262_0001_01_000003 on 10.22.2.103_51794
Log Upload Time:1461015916141
========================================================================
LogType:stderr
LogLength:157
LogType:stdout
LogLength:0
LogType:syslog
LogLength:22473
LogType:syslog.shuffle
LogLength:2655


Container: container_1461015870262_0001_01_000002 on 10.22.2.103_51794
Log Upload Time:1461015916141
========================================================================
LogType:stderr
LogLength:157
LogType:stdout
LogLength:0
LogType:syslog
LogLength:23226
{code}

{code}
yarn logs --applicationId application_1461015870262_0001 -list_nodes

Applicaiton: application_1461015870262_0001
=============================================
10.22.2.103_51794
{code}

> Improve Yarn log Command line option to show log metadata
> ---------------------------------------------------------
>
>                 Key: YARN-4905
>                 URL: https://issues.apache.org/jira/browse/YARN-4905
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-4905.1.patch, YARN-4905.2.patch, YARN-4905.3.patch
>
>
> Improve the Yarn log commandline to have "ls" command which can list 
> containers for which we have logs, list files within each container, along 
> with file size



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

Reply via email to