[ 
https://issues.apache.org/jira/browse/HADOOP-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632646#action_12632646
 ] 

Steve Loughran commented on HADOOP-4202:
----------------------------------------

In the latest patch for HADOOP-3628 there's a stopCleanupThreads() method that 
does this; it gets invoked when the TaskTracker gets terminated.

All the services lack tests to ensure that they shut down reliably in-process; 
the assumption in production is that the hosting JVM is killed. If we really 
want to have them fully cleaned up when terminated, we need tests to verify 
that threads are gone, and that http daemons aren't listening on the designated 
ports. 

> TaskTracker never stops cleanup threads, MiniMRCluster becomes unstable
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-4202
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4202
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.18.0
>            Reporter: Chris K Wensel
>            Assignee: Chris K Wensel
>
> If many unit tests start/stop unique MiniMRCluster instances, over time the 
> number of threads in the test vm grow to large causing tests to hang and/or 
> slow down.

-- 
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