MAPREDUCE-6460. TestRMContainerAllocator.testAttemptNotFoundCausesRMCommunicatorException fails. Contributed by Zhihai Xu.
This commit is contained in:
parent
66b46d0885
commit
e3ace31e2b
@ -568,6 +568,9 @@ Release 2.8.0 - UNRELEASED
|
|||||||
MAPREDUCE-5002. AM could potentially allocate a reduce container to a map
|
MAPREDUCE-5002. AM could potentially allocate a reduce container to a map
|
||||||
attempt (Chang Li via jlowe)
|
attempt (Chang Li via jlowe)
|
||||||
|
|
||||||
|
MAPREDUCE-6460. TestRMContainerAllocator.
|
||||||
|
testAttemptNotFoundCausesRMCommunicatorException fails. (Zhihai Xu)
|
||||||
|
|
||||||
Release 2.7.2 - UNRELEASED
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -125,6 +125,7 @@
|
|||||||
import org.apache.hadoop.yarn.server.resourcemanager.recovery.MemoryRMStateStore;
|
import org.apache.hadoop.yarn.server.resourcemanager.recovery.MemoryRMStateStore;
|
||||||
import org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore;
|
import org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore;
|
||||||
import org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMApp;
|
import org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMApp;
|
||||||
|
import org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppState;
|
||||||
import org.apache.hadoop.yarn.server.resourcemanager.scheduler.Allocation;
|
import org.apache.hadoop.yarn.server.resourcemanager.scheduler.Allocation;
|
||||||
import org.apache.hadoop.yarn.server.resourcemanager.scheduler.ResourceScheduler;
|
import org.apache.hadoop.yarn.server.resourcemanager.scheduler.ResourceScheduler;
|
||||||
import org.apache.hadoop.yarn.server.resourcemanager.scheduler.common.fica.FiCaSchedulerApp;
|
import org.apache.hadoop.yarn.server.resourcemanager.scheduler.common.fica.FiCaSchedulerApp;
|
||||||
@ -2809,7 +2810,7 @@ public void testAttemptNotFoundCausesRMCommunicatorException()
|
|||||||
|
|
||||||
// Now kill the application
|
// Now kill the application
|
||||||
rm.killApp(app.getApplicationId());
|
rm.killApp(app.getApplicationId());
|
||||||
|
rm.waitForState(app.getApplicationId(), RMAppState.KILLED);
|
||||||
allocator.schedule();
|
allocator.schedule();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user