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

@ -244,6 +244,9 @@ Release 2.7.0 - UNRELEASED
MAPREDUCE-6162. mapred hsadmin fails on a secure cluster (jlowe) 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 Release 2.6.0 - 2014-11-18
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

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