You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2018/04/11 08:08:00 UTC

[jira] [Created] (YARN-8144) yarn logs organized output

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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org