[ https://issues.apache.org/jira/browse/YARN-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110366#comment-14110366
]
zhihai xu commented on YARN-2452:
---------------------------------
[~Tsuyoshi OZAWA] thanks for the review. I try to use FairSchedulerConfiguration.ASSIGN_MULTIPLE
at the beginning. then I get compilation error, it is because ASSIGN_MULTIPLE is protected,
which can't be accessed by the test.
{code}
protected static final String ASSIGN_MULTIPLE = CONF_PREFIX + "assignmultiple";
{code}
Can I change "protected" to "public" at above 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)
|