MAPREDUCE-6049. AM JVM does not exit if MRClientService graceful shutdown

fails. Contributed by Rohith.
This commit is contained in:
Devaraj K 2014-11-18 22:05:13 +05:30
parent 9dd5d673c9
commit 7250b0bf91
2 changed files with 5 additions and 1 deletions

View File

@ -243,6 +243,9 @@ Release 2.7.0 - UNRELEASED
CodecPool multiple times (Sergey Murylev via raviprak)
MAPREDUCE-6162. mapred hsadmin fails on a secure cluster (jlowe)
MAPREDUCE-6049. AM JVM does not exit if MRClientService graceful shutdown
fails (Rohith via devaraj)
Release 2.6.0 - 2014-11-18

View File

@ -604,7 +604,8 @@ public class MRAppMaster extends CompositeService {
}
clientService.stop();
} catch (Throwable t) {
LOG.warn("Graceful stop failed ", t);
LOG.warn("Graceful stop failed. Exiting.. ", t);
ExitUtil.terminate(1, t);
}
}