hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4149) yarn logs -am should provide an option to fetch all the log files
Date Tue, 15 Sep 2015 23:56:46 GMT

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

Hudson commented on YARN-4149:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #375 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/375/])
YARN-4149. yarn logs -am should provide an option to fetch all the log (xgong: rev 34ef1a092bcab369bb845481efffb8c47adef53a)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/LogsCLI.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/webapp/dao/ContainerInfo.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/webapp/TestNMWebServicesContainers.java
* hadoop-yarn-project/CHANGES.txt
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/webapp/NMWebServices.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestLogsCLI.java


> yarn logs -am should provide an option to fetch all the log files
> -----------------------------------------------------------------
>
>                 Key: YARN-4149
>                 URL: https://issues.apache.org/jira/browse/YARN-4149
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: client, nodemanager
>    Affects Versions: 2.7.1
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>             Fix For: 2.8.0
>
>         Attachments: YARN-4149.001.patch, YARN-4149.002.patch, YARN-4149.003.patch
>
>
> From [~gopalv] -
> {quote}
> Trying to collect a hanging Tez AM logs, by killing the container and running yarn logs
-applicationId application_1437098194051_0178 -am ALL
> The output contains only one log file, which does not contain any of the actual execution
logs, only the initialization logs.
> From YARN-3347, I note that
>       // if we do not specify the value for CONTAINER_LOG_FILES option,
>      // we will only output syslog
> This means that the person calling the yarn logs command has to list it out like this,
to collect logs 
> yarn logs -applicationId application_1437098194051_0178 -am ALL -logFiles \
> syslog_dag_1437098194051_0178_2_post,\
> dag_1437098194051_0178_2-tez-dag.pb.txt,\
> syslog_dag_1437098194051_0178_2,\
> syslog_dag_1437098194051_0178_1_post,\
> syslog_dag_1437098194051_0178_1,\
> syslog,\
> stdout,\
> stderr,\
> dag_1437098194051_0178_2.dot,\
> dag_1437098194051_0178_1.dot,\
> dag_1437098194051_0178_1-tez-dag.pb.txt
> {quote}



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

Mime
View raw message