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-2785) TestContainerResourceUsage fails intermittently
Date Sun, 02 Nov 2014 23:31:34 GMT

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

Hudson commented on YARN-2785:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #6423 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/6423/])
YARN-2785. Fixed intermittent TestContainerResourceUsage failure. Contributed by Varun Vasudev.
(zjshen: rev 27715ec63bd77f1d31ee922b7daba85071da54ca)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestContainerResourceUsage.java
* hadoop-yarn-project/CHANGES.txt


> TestContainerResourceUsage fails intermittently
> -----------------------------------------------
>
>                 Key: YARN-2785
>                 URL: https://issues.apache.org/jira/browse/YARN-2785
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>             Fix For: 2.6.0
>
>         Attachments: apache-yarn-2785.0.patch, apache-yarn-2785.1.patch, apache-yarn-2785.2.patch
>
>
> TestContainerResourceUsage fails sometimes due to the timeout values being low.
> From the test failures - 
> {noformat}
> ------------------------------------------------------
> Running org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage
> Tests run: 4, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 71.264 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestContainerResource
> testUsageWithMultipleContainersAndRMRestart(org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage)
 Time elapsed: 60.032 sec  <<< ERROR!
> java.lang.Exception: test timed out after 60000 milliseconds
>         at java.lang.Thread.sleep(Native Method)
>         at org.apache.hadoop.yarn.server.resourcemanager.MockRM.waitForState(MockRM.java:209)
>         at org.apache.hadoop.yarn.server.resourcemanager.MockRM.waitForState(MockRM.java:198)
>         at org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage.testUsageWithMultipleContainersAndRMRestart(TestContainerResourceUsage.java:
> testUsageWithOneAttemptAndOneContainer(org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage)
 Time elapsed: 3.375 sec  <<< FAILURE!
> java.lang.AssertionError: While app is running, memory seconds should be >0 but is
0
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage.testUsageWithOneAttemptAndOneContainer(TestContainerResourceUsage.java:108)
> {noformat}



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

Mime
View raw message