hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2452) TestRMApplicationHistoryWriter is failed for FairScheduler
Date Tue, 26 Aug 2014 06:06:58 GMT

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

Tsuyoshi OZAWA commented on YARN-2452:
--------------------------------------

Thanks for your contribution, [~zxu]. This is just my anticipation, but I think some tests
depend on CapacityScheduler. Should we fix all of them?

About a patch itself, It's better to use FairSchedulerConfiguration.ASSIGN_MULTIPLE instead
of hard coding property.
{code}
+    conf.setBoolean("yarn.scheduler.fair.assignmultiple", true);
{code}


> TestRMApplicationHistoryWriter is failed for FairScheduler
> ----------------------------------------------------------
>
>                 Key: YARN-2452
>                 URL: https://issues.apache.org/jira/browse/YARN-2452
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: YARN-2452.000.patch
>
>
> TestRMApplicationHistoryWriter is failed for FairScheduler. The failure is the following:
> T E S T S
> -------------------------------------------------------
> Running org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 69.311 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter
> testRMWritingMassiveHistory(org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter)
 Time elapsed: 66.261 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<10000> but was:<200>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistory(TestRMApplicationHistoryWriter.java:430)
> 	at org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistory(TestRMApplicationHistoryWriter.java:391)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message