Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
Reviewed
Description
FileSystem adds a JVM shutdown hook when a filesystem instance is cached.
MRAppMaster also uses a JVM shutdown hook, among other things, the MRAppMaster JVM shutdown hook is used to ensure state are written to HDFS.
This creates a race condition because each JVM shutdown hook is a separate thread and if there are multiple JVM shutdown hooks there is not assurance of order of execution, they could even run in parallel.
Attachments
Attachments
Issue Links
- is depended upon by
-
MAPREDUCE-4135 MRAppMaster throws IllegalStateException while shutting down
- Resolved
-
MAPREDUCE-4205 retrofit all JVM shutdown hooks to use ShutdownHookManager
- Closed
- relates to
-
HADOOP-12950 ShutdownHookManager should have a timeout for each of the Registered shutdown hook
- Resolved