hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-270) possible deadlock when shut down a datanode thread
Date Thu, 01 Jun 2006 23:19:30 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-270?page=all ]

Hairong Kuang updated HADOOP-270:
---------------------------------

    Attachment: datanode_deadlock.patch

The patch moves "join" operation to the end of "offerservice". In addition, it starts up its
data receive server in the beginning of "offerservice" instead of in the DataNode constructor.

> possible deadlock when shut down a datanode thread
> --------------------------------------------------
>
>          Key: HADOOP-270
>          URL: http://issues.apache.org/jira/browse/HADOOP-270
>      Project: Hadoop
>         Type: Bug

>   Components: dfs
>     Versions: 0.3
>     Reporter: Hairong Kuang
>     Assignee: Hairong Kuang
>      Fix For: 0.3
>  Attachments: datanode_deadlock.patch
>
> The DataNode class provides a method "shutdown" that can be used to notify a data node
thread to abort itself gracefully. In addition this method waits for its data receiving server
to terminate. This may cause possible deadlock if the method is called by the data receiving
server.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message