MAPREDUCE-6136. MRAppMaster doesn't shutdown file systems. Contributed by Brahma Reddy Battula.
(cherry picked from commit 348208014b
)
This commit is contained in:
parent
0d62e94887
commit
ac874764d5
|
@ -163,6 +163,9 @@ Release 2.7.0 - UNRELEASED
|
|||
MAPREDUCE-6268. Fix typo in Task Attempt API's URL. (Ryu Kobayashi
|
||||
via ozawa)
|
||||
|
||||
MAPREDUCE-6136. MRAppMaster doesn't shutdown file systems. (Brahma
|
||||
Reddy Battula via ozawa)
|
||||
|
||||
Release 2.6.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -1426,10 +1426,6 @@ public class MRAppMaster extends CompositeService {
|
|||
String jobUserName = System
|
||||
.getenv(ApplicationConstants.Environment.USER.name());
|
||||
conf.set(MRJobConfig.USER_NAME, jobUserName);
|
||||
// Do not automatically close FileSystem objects so that in case of
|
||||
// SIGTERM I have a chance to write out the job history. I'll be closing
|
||||
// the objects myself.
|
||||
conf.setBoolean("fs.automatic.close", false);
|
||||
initAndStartAppMaster(appMaster, conf, jobUserName);
|
||||
} catch (Throwable t) {
|
||||
LOG.fatal("Error starting MRAppMaster", t);
|
||||
|
|
Loading…
Reference in New Issue