Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We have map/reduce jobs that sometimes run additional threads that are not at daemon priority, and these threads prevent the Task from properly exiting. When enough of these accumulate, the node falls over.
The included patch forces the Tasks to exit when completed.
Index: src/java/org/apache/hadoop/mapred/TaskTracker.java
===================================================================
— src/java/org/apache/hadoop/mapred/TaskTracker.java (revision 608611)
+++ src/java/org/apache/hadoop/mapred/TaskTracker.java (working copy)
@@ -1801,6 +1801,8 @@
// This assumes that on return from Task.run()
// there is no more logging done.
LogManager.shutdown();
+
+ System.exit(0);
}
}
}