MAPREDUCE-3304. Fixed intermittent test failure due to a race in TestRMContainerAllocator#testBlackListedNodes. Contributed by Ravi Prakash.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190495 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9692cfc9ae
commit
b93abdcd66
@ -1850,6 +1850,9 @@ Release 0.23.0 - Unreleased
|
|||||||
MAPREDUCE-2775. Fixed ResourceManager and NodeManager to force a
|
MAPREDUCE-2775. Fixed ResourceManager and NodeManager to force a
|
||||||
decommissioned node to shutdown. (Devaraj K via vinodkv)
|
decommissioned node to shutdown. (Devaraj K via vinodkv)
|
||||||
|
|
||||||
|
MAPREDUCE-3304. Fixed intermittent test failure due to a race in
|
||||||
|
TestRMContainerAllocator#testBlackListedNodes. (Ravi Prakash via acmurthy)
|
||||||
|
|
||||||
Release 0.22.0 - Unreleased
|
Release 0.22.0 - Unreleased
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -567,6 +567,7 @@ public void testBlackListedNodes() throws Exception {
|
|||||||
Assert.assertEquals("No of assignments must be 0", 0, assigned.size());
|
Assert.assertEquals("No of assignments must be 0", 0, assigned.size());
|
||||||
|
|
||||||
nodeManager3.nodeHeartbeat(true); // Node heartbeat
|
nodeManager3.nodeHeartbeat(true); // Node heartbeat
|
||||||
|
dispatcher.await();
|
||||||
assigned = allocator.schedule();
|
assigned = allocator.schedule();
|
||||||
dispatcher.await();
|
dispatcher.await();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user