[
https://issues.apache.org/jira/browse/YARN-6249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892327#comment-15892327
]
Tao Jie edited comment on YARN-6249 at 3/2/17 2:32 PM:
-------------------------------------------------------
In the attached patch, I called update() explicitly between app1 is allocated
and app2 is submitted, to ensure {{minShareStarvation}} of
root.preemptable.child-2 is refreshed.
[~yufeigu] [~kasha], would you take a look at it? I ran 300 times of this case
no failure, and 3 of 100 runs would failed without this patch.
was (Author: tao jie):
In the attached patch, I called update() explicitly between app1 is allocated
and before app2 is submitted, to ensure {{minShareStarvation}} of
root.preemptable.child-2 is refreshed.
[~yufeigu] [~kasha], would you take a look at it? I ran 300 times of this case
no failure, and 3 of 100 runs would failed without this patch.
> TestFairSchedulerPreemption is inconsistently failing on trunk
> --------------------------------------------------------------
>
> Key: YARN-6249
> URL: https://issues.apache.org/jira/browse/YARN-6249
> Project: Hadoop YARN
> Issue Type: Bug
> Components: fairscheduler, resourcemanager
> Affects Versions: 2.9.0
> Reporter: Sean Po
> Assignee: Yufei Gu
> Attachments: YARN-6249.001.patch
>
>
> Tests in TestFairSchedulerPreemption.java will inconsistently fail on trunk.
> An example stack trace:
> {noformat}
> Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.879 sec
> <<< FAILURE! - in
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption
> testPreemptionSelectNonAMContainer[MinSharePreemptionWithDRF](org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption)
> Time elapsed: 10.475 sec <<< FAILURE!
> java.lang.AssertionError: Incorrect number of containers on the greedy app
> expected:<4> but was:<8>
> 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.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption.verifyPreemption(TestFairSchedulerPreemption.java:288)
> at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerPreemption.testPreemptionSelectNonAMContainer(TestFairSchedulerPreemption.java:363)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]