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

dhruba borthakur commented on HADOOP-4924:
------------------------------------------

It would be nice if somebody can comment if this affects 0.17 and 0.18 as well.

> Race condition in re-init of TaskTracker
> ----------------------------------------
>
>                 Key: HADOOP-4924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4924
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: 4924.patch
>
>
> The taskReportServer is stopped in the TaskTracker.close() method in a 
> thread. The race condition is:
> 1) TaskTracker.close() is invoked - this starts a thread to stop the 
> taskReportServer
> 2) TaskTracker.initialize is invoked - this tries to create a new 
> taskReportServer
> Assume that the thread started to stop the taskReportServer gets to start its 
> work after (2) above. The thread will end up stopping the newly created 
> taskReportServer.

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