MAPREDUCE-4913. TestMRAppMaster#testMRAppMasterMissingStaging occasionally exits (Jason Lowe via tgraves)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1429371 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
64e4fb983e
commit
bbc426f53a
@ -667,6 +667,9 @@ Release 0.23.6 - UNRELEASED
|
||||
MAPREDUCE-4819. AM can rerun job after reporting final job status to the
|
||||
client (bobby and Bikas Saha via bobby)
|
||||
|
||||
MAPREDUCE-4913. TestMRAppMaster#testMRAppMasterMissingStaging occasionally
|
||||
exits (Jason Lowe via tgraves)
|
||||
|
||||
Release 0.23.5 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -295,16 +295,20 @@ public void init(final Configuration conf) {
|
||||
dispatcher = createDispatcher();
|
||||
addIfService(dispatcher);
|
||||
|
||||
NoopEventHandler eater = new NoopEventHandler();
|
||||
//We do not have a JobEventDispatcher in this path
|
||||
dispatcher.register(JobEventType.class, eater);
|
||||
|
||||
EventHandler<JobHistoryEvent> historyService = null;
|
||||
if (copyHistory) {
|
||||
historyService =
|
||||
createJobHistoryHandler(context);
|
||||
dispatcher.register(org.apache.hadoop.mapreduce.jobhistory.EventType.class,
|
||||
historyService);
|
||||
} else {
|
||||
dispatcher.register(org.apache.hadoop.mapreduce.jobhistory.EventType.class,
|
||||
eater);
|
||||
}
|
||||
NoopEventHandler eater = new NoopEventHandler();
|
||||
//We do not have a JobEventDispatcher in this path
|
||||
dispatcher.register(JobEventType.class, eater);
|
||||
|
||||
// service to allocate containers from RM (if non-uber) or to fake it (uber)
|
||||
containerAllocator = createContainerAllocator(null, context);
|
||||
|
Loading…
Reference in New Issue
Block a user