[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-10 Thread Wangda Tan (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14205494#comment-14205494
 ] 

Wangda Tan commented on YARN-2607:
--

Hi [~ozawa],
I just tried it can pass locally, does it still failing?

Thanks,

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Fix For: 2.6.0

 Attachments: YARN-2607-1.patch, YARN-2607-2.patch, YARN-2607-3.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-10 Thread Wangda Tan (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14205704#comment-14205704
 ] 

Wangda Tan commented on YARN-2607:
--

Hmm.. it seems lots of distributed related tests are timeout in your machine. 
I've tried several times locally but cannot reproduce. I cannot get any idea 
from the log you uploaded. 
I think it should be a environment-specific problem, could you please file a 
separated ticket to track the timeout issue? Let's see if anybody else suffered 
this.

Thanks,

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Fix For: 2.6.0

 Attachments: YARN-2607-1.patch, YARN-2607-2.patch, YARN-2607-3.patch, 
 test.log


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14203885#comment-14203885
 ] 

Hudson commented on YARN-2607:
--

FAILURE: Integrated in Hadoop-Yarn-trunk #738 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/738/])
YARN-2607. Fixed issues in TestDistributedShell. Contributed by Wangda Tan. 
(vinodkv: rev 737d9284c109dac20ff423f30c62f6abe2db10f7)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShellWithNodeLabels.java
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java


 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Fix For: 2.6.0

 Attachments: YARN-2607-1.patch, YARN-2607-2.patch, YARN-2607-3.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14203928#comment-14203928
 ] 

Hudson commented on YARN-2607:
--

SUCCESS: Integrated in Hadoop-Hdfs-trunk #1928 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1928/])
YARN-2607. Fixed issues in TestDistributedShell. Contributed by Wangda Tan. 
(vinodkv: rev 737d9284c109dac20ff423f30c62f6abe2db10f7)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShellWithNodeLabels.java
* hadoop-yarn-project/CHANGES.txt


 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Fix For: 2.6.0

 Attachments: YARN-2607-1.patch, YARN-2607-2.patch, YARN-2607-3.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14203956#comment-14203956
 ] 

Hudson commented on YARN-2607:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1952 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1952/])
YARN-2607. Fixed issues in TestDistributedShell. Contributed by Wangda Tan. 
(vinodkv: rev 737d9284c109dac20ff423f30c62f6abe2db10f7)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShellWithNodeLabels.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java
* hadoop-yarn-project/CHANGES.txt


 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Fix For: 2.6.0

 Attachments: YARN-2607-1.patch, YARN-2607-2.patch, YARN-2607-3.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-09 Thread Tsuyoshi OZAWA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14204073#comment-14204073
 ] 

Tsuyoshi OZAWA commented on YARN-2607:
--

TestDistributedShellWithNodeLabels.testDSShellWithNodeLabelExpression still 
fails on my local because of timeout.

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Fix For: 2.6.0

 Attachments: YARN-2607-1.patch, YARN-2607-2.patch, YARN-2607-3.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-08 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14203486#comment-14203486
 ] 

Hadoop QA commented on YARN-2607:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12680360/YARN-2607-2.patch
  against trunk revision 9a4e0d3.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 2 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}.  There were no new javadoc 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 2.0.3) warnings.

{color:red}-1 release audit{color}.  The applied patch generated 1 
release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/5804//testReport/
Release audit warnings: 
https://builds.apache.org/job/PreCommit-YARN-Build/5804//artifact/patchprocess/patchReleaseAuditProblems.txt
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/5804//console

This message is automatically generated.

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Attachments: YARN-2607-1.patch, YARN-2607-2.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-08 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14203507#comment-14203507
 ] 

Hadoop QA commented on YARN-2607:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12680396/YARN-2607-3.patch
  against trunk revision 9a4e0d3.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 2 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}.  There were no new javadoc 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 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/5805//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/5805//console

This message is automatically generated.

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Attachments: YARN-2607-1.patch, YARN-2607-2.patch, YARN-2607-3.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-08 Thread Vinod Kumar Vavilapalli (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14203539#comment-14203539
 ] 

Vinod Kumar Vavilapalli commented on YARN-2607:
---

Thanks, looks good, +1. Checking this in.

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Attachments: YARN-2607-1.patch, YARN-2607-2.patch, YARN-2607-3.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-08 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14203544#comment-14203544
 ] 

Hudson commented on YARN-2607:
--

SUCCESS: Integrated in Hadoop-trunk-Commit #6492 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/6492/])
YARN-2607. Fixed issues in TestDistributedShell. Contributed by Wangda Tan. 
(vinodkv: rev 737d9284c109dac20ff423f30c62f6abe2db10f7)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShellWithNodeLabels.java
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java


 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Fix For: 2.6.0

 Attachments: YARN-2607-1.patch, YARN-2607-2.patch, YARN-2607-3.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-07 Thread Ted Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14202249#comment-14202249
 ] 

Ted Yu commented on YARN-2607:
--

The test fails in trunk with the following error:
{code}
Running 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.528 sec  
FAILURE! - in 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell
testContainerLaunchFailureHandling(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
  Time elapsed: 1.295 sec   ERROR!
org.apache.hadoop.service.ServiceStateException: java.io.IOException: 
NodeLabelManager doesn't include label = x, please check.
at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.checkIfLabelInClusterNodeLabels(SchedulerUtils.java:287)
at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.AbstractCSQueue.init(AbstractCSQueue.java:109)
at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue.init(LeafQueue.java:120)
at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.parseQueue(CapacityScheduler.java:568)
at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.parseQueue(CapacityScheduler.java:588)
at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initializeQueues(CapacityScheduler.java:463)
at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initScheduler(CapacityScheduler.java:295)
at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.serviceInit(CapacityScheduler.java:324)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
at 
org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:558)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:989)
at 
org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:255)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.yarn.server.MiniYARNCluster.initResourceManager(MiniYARNCluster.java:291)
at 
org.apache.hadoop.yarn.server.MiniYARNCluster.access$400(MiniYARNCluster.java:95)
at 
org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.serviceInit(MiniYARNCluster.java:442)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
at 
org.apache.hadoop.yarn.server.MiniYARNCluster.serviceInit(MiniYARNCluster.java:267)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.setup(TestDistributedShell.java:122)
{code}

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu

 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time 

[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-07 Thread Wangda Tan (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14202356#comment-14202356
 ] 

Wangda Tan commented on YARN-2607:
--

Taking over, will post a patch soon

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan

 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-07 Thread Wangda Tan (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14202457#comment-14202457
 ] 

Wangda Tan commented on YARN-2607:
--

Currently TestDistributedShell do following steps in setup of each tests
1) Create YarnConfiguration
2) Create MiniYarnCluster by the YarnConfiguration
3) Add label to nodes/queues (also, it will set fields in YarnConfiguration)
4) *Serialize the config to yarn-site.xml*

So when we run multiple tests of TestDistributedShell without mvn clean, the 
latter tests will load the old tests's yarn-site.xml, which contains labels on 
queue, and at that time, labels not added to nodes/queues yet. So the test will 
fail.

There's a simply fix we can do is,
Exchange sequence of 3)/4), it will first serialize config without node label 
settings to yarn-site.xml, so next time we can avoid load a YarnConfiguration 
with labels.  And this is safe because DistributedShell program doesn't need 
labels-related fields.

Wangda


 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan

 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-07 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14202533#comment-14202533
 ] 

Hadoop QA commented on YARN-2607:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12680224/YARN-2607-1.patch
  against trunk revision 2ac1be7.

{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}.  There were no new javadoc 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 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/5783//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/5783//console

This message is automatically generated.

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Attachments: YARN-2607-1.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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


[jira] [Commented] (YARN-2607) TestDistributedShell fails in trunk

2014-11-07 Thread Ted Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14202663#comment-14202663
 ] 

Ted Yu commented on YARN-2607:
--

lgtm

 TestDistributedShell fails in trunk
 ---

 Key: YARN-2607
 URL: https://issues.apache.org/jira/browse/YARN-2607
 Project: Hadoop YARN
  Issue Type: Test
Reporter: Ted Yu
Assignee: Wangda Tan
 Attachments: YARN-2607-1.patch


 From https://builds.apache.org/job/Hadoop-Yarn-trunk/691/console :
 {code}
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.641 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}
 On Linux, I got the following locally:
 {code}
 testDSAttemptFailuresValidityIntervalFailed(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 64.715 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertFalse(Assert.java:64)
   at org.junit.Assert.assertFalse(Assert.java:74)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalFailed(TestDistributedShell.java:384)
 testDSAttemptFailuresValidityIntervalSucess(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 115.842 sec   ERROR!
 java.lang.Exception: test timed out after 9 milliseconds
   at java.lang.Thread.sleep(Native Method)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.monitorApplication(Client.java:680)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:661)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSAttemptFailuresValidityIntervalSucess(TestDistributedShell.java:342)
 testDSRestartWithPreviousRunningContainers(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
   Time elapsed: 35.633 sec   FAILURE!
 java.lang.AssertionError: null
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at 
 org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSRestartWithPreviousRunningContainers(TestDistributedShell.java:308)
 {code}



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