[ 
https://issues.apache.org/jira/browse/HADOOP-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated HADOOP-2708:
---------------------------------

        Fix Version/s:     (was: 0.15.3)
    Affects Version/s:     (was: 0.15.2)
                       0.15.3

Can't fix something in an already-released version.

> Force the task tracker to exit when the task is complete, prevents nodes from 
> dying due to resource starvation from impropertly written map/reduce tasks
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2708
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2708
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.15.3
>            Reporter: Jason
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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);
>        }
>      }
>    } 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to