You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2006/06/07 10:27:29 UTC

[jira] Created: (HADOOP-285) Data nodes cannot re-join the cluster once connection is lost

Data nodes cannot re-join the cluster once connection is lost
-------------------------------------------------------------

         Key: HADOOP-285
         URL: http://issues.apache.org/jira/browse/HADOOP-285
     Project: Hadoop
        Type: Bug

  Components: dfs  
    Versions: 0.3.0    
    Reporter: Konstantin Shvachko


A data node looses connection to a name node and then tries to offerService() again.
HADOOP-270 changes force it to start dataXceiveServer, which is already started and in this case
throws IllegalThreadStateException, which goes on in a loop, and never reaches the heartbeat section.
So the data node never re-joins the cluster, while from the out side it looks it's still running.
This is another reason why we see missing data, and don't see failed data nodes.


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


[jira] Updated: (HADOOP-285) Data nodes cannot re-join the cluster once connection is lost

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-285?page=all ]

Owen O'Malley updated HADOOP-285:
---------------------------------

    Fix Version: 0.3.2
       Priority: Blocker  (was: Major)

> Data nodes cannot re-join the cluster once connection is lost
> -------------------------------------------------------------
>
>          Key: HADOOP-285
>          URL: http://issues.apache.org/jira/browse/HADOOP-285
>      Project: Hadoop
>         Type: Bug

>   Components: dfs
>     Versions: 0.3.0
>     Reporter: Konstantin Shvachko
>     Assignee: Hairong Kuang
>     Priority: Blocker
>      Fix For: 0.3.2
>  Attachments: datanode.patch
>
> A data node looses connection to a name node and then tries to offerService() again.
> HADOOP-270 changes force it to start dataXceiveServer, which is already started and in this case
> throws IllegalThreadStateException, which goes on in a loop, and never reaches the heartbeat section.
> So the data node never re-joins the cluster, while from the out side it looks it's still running.
> This is another reason why we see missing data, and don't see failed data nodes.

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


[jira] Resolved: (HADOOP-285) Data nodes cannot re-join the cluster once connection is lost

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-285?page=all ]
     
Doug Cutting resolved HADOOP-285:
---------------------------------

    Resolution: Fixed

I just committed this.  Thanks, Owen!

> Data nodes cannot re-join the cluster once connection is lost
> -------------------------------------------------------------
>
>          Key: HADOOP-285
>          URL: http://issues.apache.org/jira/browse/HADOOP-285
>      Project: Hadoop
>         Type: Bug

>   Components: dfs
>     Versions: 0.3.0
>     Reporter: Konstantin Shvachko
>     Assignee: Hairong Kuang
>     Priority: Blocker
>      Fix For: 0.3.2
>  Attachments: datanode.patch
>
> A data node looses connection to a name node and then tries to offerService() again.
> HADOOP-270 changes force it to start dataXceiveServer, which is already started and in this case
> throws IllegalThreadStateException, which goes on in a loop, and never reaches the heartbeat section.
> So the data node never re-joins the cluster, while from the out side it looks it's still running.
> This is another reason why we see missing data, and don't see failed data nodes.

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


[jira] Updated: (HADOOP-285) Data nodes cannot re-join the cluster once connection is lost

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-285?page=all ]

Hairong Kuang updated HADOOP-285:
---------------------------------

    Attachment: datanode.patch

This patch starts the data receiver thread in "run" instead of "offerservice". So it will not be restarted after a connect is lost.

> Data nodes cannot re-join the cluster once connection is lost
> -------------------------------------------------------------
>
>          Key: HADOOP-285
>          URL: http://issues.apache.org/jira/browse/HADOOP-285
>      Project: Hadoop
>         Type: Bug

>   Components: dfs
>     Versions: 0.3.0
>     Reporter: Konstantin Shvachko
>     Assignee: Hairong Kuang
>  Attachments: datanode.patch
>
> A data node looses connection to a name node and then tries to offerService() again.
> HADOOP-270 changes force it to start dataXceiveServer, which is already started and in this case
> throws IllegalThreadStateException, which goes on in a loop, and never reaches the heartbeat section.
> So the data node never re-joins the cluster, while from the out side it looks it's still running.
> This is another reason why we see missing data, and don't see failed data nodes.

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


[jira] Assigned: (HADOOP-285) Data nodes cannot re-join the cluster once connection is lost

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-285?page=all ]

Hairong Kuang reassigned HADOOP-285:
------------------------------------

    Assign To: Hairong Kuang

> Data nodes cannot re-join the cluster once connection is lost
> -------------------------------------------------------------
>
>          Key: HADOOP-285
>          URL: http://issues.apache.org/jira/browse/HADOOP-285
>      Project: Hadoop
>         Type: Bug

>   Components: dfs
>     Versions: 0.3.0
>     Reporter: Konstantin Shvachko
>     Assignee: Hairong Kuang

>
> A data node looses connection to a name node and then tries to offerService() again.
> HADOOP-270 changes force it to start dataXceiveServer, which is already started and in this case
> throws IllegalThreadStateException, which goes on in a loop, and never reaches the heartbeat section.
> So the data node never re-joins the cluster, while from the out side it looks it's still running.
> This is another reason why we see missing data, and don't see failed data nodes.

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