[ https://issues.apache.org/jira/browse/YARN-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784748#comment-13784748 ]
Hadoop QA commented on YARN-1131: --------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12606503/YARN-1131.1.txt against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The following test timeouts occurred in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common: org.apache.hadoop.yarn.client.cli.TestLogsCLI {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-YARN-Build/2072//testReport/ Console output: https://builds.apache.org/job/PreCommit-YARN-Build/2072//console This message is automatically generated. > $ yarn logs should return a message log aggregation is during progress if > YARN application is running > ----------------------------------------------------------------------------------------------------- > > Key: YARN-1131 > URL: https://issues.apache.org/jira/browse/YARN-1131 > Project: Hadoop YARN > Issue Type: Sub-task > Components: client > Affects Versions: 2.1.1-beta > Reporter: Tassapol Athiapinya > Assignee: Siddharth Seth > Priority: Minor > Attachments: YARN-1131.1.txt > > > In the case when log aggregation is enabled, if a user submits MapReduce job > and runs $ yarn logs -applicationId <app ID> while the YARN application is > running, the command will return no message and return user back to shell. It > is nice to tell the user that log aggregation is in progress. > {code} > -bash-4.1$ /usr/bin/yarn logs -applicationId application_1377900193583_0002 > -bash-4.1$ > {code} > At the same time, if invalid application ID is given, YARN CLI should say > that the application ID is incorrect rather than throwing > NoSuchElementException. > {code} > $ /usr/bin/yarn logs -applicationId application_00000 > Exception in thread "main" java.util.NoSuchElementException > at com.google.common.base.AbstractIterator.next(AbstractIterator.java:75) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationId(ConverterUtils.java:124) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationId(ConverterUtils.java:119) > at org.apache.hadoop.yarn.logaggregation.LogDumper.run(LogDumper.java:110) > at org.apache.hadoop.yarn.logaggregation.LogDumper.main(LogDumper.java:255) > {code} -- This message was sent by Atlassian JIRA (v6.1#6144)