Zoltan Haindrich created YARN-8144:
--------------------------------------

             Summary: yarn logs organized output
                 Key: YARN-8144
                 URL: https://issues.apache.org/jira/browse/YARN-8144
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Zoltan Haindrich


I'm using {{yarn logs}} to gather the logs for Tez AM / llap.
 As a log for a single tez am may contain a lot of files which each correspont 
to single query execution - its not really usefull to just browse the log as is.
 I've tried the {{-out}} option to get an organized output; but it only 
separated at a "container" level.

{code:bash}
$ yarn logs -applicationId application_1522319554594_0065 -out asd2
$ find asd2/ -type f
asd2/lemon-8.openstacklocal_45454/container_e03_1522319554594_0065_01_000001
$ grep '^End' 
asd2/lemon-8.openstacklocal_45454/container_e03_1522319554594_0065_01_000001|wc 
-l
64
{code}

I think it would be great to extend the directory output to create separate 
files for each output.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to