hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amar Kamat (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3976) JobTracker.close() gets stuck occasionally
Date Wed, 20 Aug 2008 08:44:44 GMT

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

Amar Kamat updated HADOOP-3976:
-------------------------------

    Attachment: HADOOP-3976-v1.patch

Attaching a patch that adds a _stop()_ api to indicate that the thread is required to stop.
Every thread now loops on _stop_ variable instead of looping forever.

> JobTracker.close() gets stuck occasionally
> ------------------------------------------
>
>                 Key: HADOOP-3976
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3976
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Amar Kamat
>         Attachments: HADOOP-3976-v1.patch
>
>
> JobTracker.close() shuts down all the worker threads by interrupting them and then doing
a join. This will work if the thread is in {{WAITING}} state. Most of the time the worker
threads are in the {{RUNNING}} state and the JT waits forever on the join(). 

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


Mime
View raw message