MAPREDUCE-4387. RM gets fatal error and exits during TestRM (Kihwal Lee via tgraves)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1358201 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e0ef844280
commit
072292219e
|
@ -640,6 +640,9 @@ Release 0.23.3 - UNRELEASED
|
|||
|
||||
MAPREDUCE-4384. Race conditions in IndexCache (Kihwal Lee via tgraves)
|
||||
|
||||
MAPREDUCE-4387. RM gets fatal error and exits during TestRM
|
||||
(Kihwal Lee via tgraves)
|
||||
|
||||
Release 0.23.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -324,6 +324,13 @@ public class ResourceManager extends CompositeService implements Recoverable {
|
|||
try {
|
||||
scheduler.handle(event);
|
||||
} catch (Throwable t) {
|
||||
// An error occurred, but we are shutting down anyway.
|
||||
// If it was an InterruptedException, the very act of
|
||||
// shutdown could have caused it and is probably harmless.
|
||||
if (stopped) {
|
||||
LOG.warn("Exception during shutdown: ", t);
|
||||
break;
|
||||
}
|
||||
LOG.fatal("Error in handling event type " + event.getType()
|
||||
+ " to the scheduler", t);
|
||||
if (shouldExitOnError
|
||||
|
|
Loading…
Reference in New Issue