[ 
https://issues.apache.org/jira/browse/HDFS-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882762#action_12882762
 ] 

Suresh Srinivas commented on HDFS-1250:
---------------------------------------

updatePipeLine() is not a DatanodeProtocol method.

We need to add the same checks commitBlockSynchronization(), reportBadBlocks() 
methods. Currently these methods do not have DatanodeRegistration parameter in 
them. Without that checking if the node is registered or alive is not possible. 
I will create a separate jira to track this.

Note that the check to see if the node is registered/alive is not done for the 
method errorReport() as it is done for logging an error.

> Namenode accepts block report from dead datanodes
> -------------------------------------------------
>
>                 Key: HDFS-1250
>                 URL: https://issues.apache.org/jira/browse/HDFS-1250
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.2, 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-1250.patch
>
>
> When a datanode heartbeat times out namenode marks it dead. The subsequent 
> heartbeat from the datanode is rejected with a command to datanode to 
> re-register. However namenode accepts block report from the datanode although 
> it is marked dead.

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