Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.23.1
-
None
Description
When a nodemanager attempts to shutdown cleanly, it's possible for it to appear to hang due to lingering DeletionService threads. This can occur when yarn.nodemanager.delete.debug-delay-sec is set to a relatively large value and one or more containers executes on the node shortly before the shutdown.
The DeletionService is never calling setExecuteExistingDelayedTasksAfterShutdownPolicy() on the ScheduledThreadPoolExecutor, and it defaults to waiting for all scheduled tasks to complete before exiting.
Attachments
Attachments
Issue Links
- duplicates
-
MAPREDUCE-3746 Nodemanagers are not automatically shut down after decommissioning
- Resolved