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

Suresh Srinivas updated HDFS-1250:
----------------------------------

    Attachment: HDFS-1250.patch

The attached patch makes the following changes:
# Currently when an unknown datanode sends blockReport(), namenode rejects it 
with an IOException. Same is done when a dead datanode sends block report.
# Currently when an unknown datanode sends blockReceived() request, namenode 
rejects it with IllegalArgumentException. I am changing this to IOException, to 
be consistent with blockReport(). Same IOException is thrown when a dead 
datanode sends blockReceived(), IOException.
# I have added a new test to ensure the following requests are rejected from 
dead datanodes:
#* blockReceived()
#* blockReport()
#* sendHeartBeat()

> 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