[ https://issues.apache.org/jira/browse/YARN-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14741345#comment-14741345 ]
Hadoop QA commented on YARN-4149: --------------------------------- \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 17m 30s | Pre-patch trunk compilation is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:green}+1{color} | tests included | 0m 0s | The patch appears to include 1 new or modified test files. | | {color:green}+1{color} | javac | 7m 48s | There were no new javac warning messages. | | {color:green}+1{color} | javadoc | 10m 11s | There were no new javadoc warning messages. | | {color:green}+1{color} | release audit | 0m 22s | The applied patch does not increase the total number of release audit warnings. | | {color:red}-1{color} | checkstyle | 0m 52s | The applied patch generated 2 new checkstyle issues (total was 40, now 41). | | {color:red}-1{color} | checkstyle | 1m 11s | The applied patch generated 6 new checkstyle issues (total was 19, now 25). | | {color:green}+1{color} | whitespace | 0m 1s | The patch has no lines that end in whitespace. | | {color:green}+1{color} | install | 1m 29s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 33s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 2m 9s | The patch does not introduce any new Findbugs (version 3.0.0) warnings. | | {color:red}-1{color} | yarn tests | 6m 54s | Tests failed in hadoop-yarn-client. | | {color:green}+1{color} | yarn tests | 7m 41s | Tests passed in hadoop-yarn-server-nodemanager. | | | | 55m 52s | | \\ \\ || Reason || Tests || | Failed unit tests | hadoop.yarn.client.cli.TestLogsCLI | | | hadoop.yarn.client.api.impl.TestYarnClient | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12755446/YARN-4149.001.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / 15a557f | | checkstyle | https://builds.apache.org/job/PreCommit-YARN-Build/9092/artifact/patchprocess/diffcheckstylehadoop-yarn-client.txt https://builds.apache.org/job/PreCommit-YARN-Build/9092/artifact/patchprocess/diffcheckstylehadoop-yarn-server-nodemanager.txt | | hadoop-yarn-client test log | https://builds.apache.org/job/PreCommit-YARN-Build/9092/artifact/patchprocess/testrun_hadoop-yarn-client.txt | | hadoop-yarn-server-nodemanager test log | https://builds.apache.org/job/PreCommit-YARN-Build/9092/artifact/patchprocess/testrun_hadoop-yarn-server-nodemanager.txt | | Test Results | https://builds.apache.org/job/PreCommit-YARN-Build/9092/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf904.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/9092/console | This message was automatically generated. > 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 > Attachments: YARN-4149.001.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)