[ 
https://issues.apache.org/jira/browse/HADOOP-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526560
 ] 

Hairong Kuang commented on HADOOP-1846:
---------------------------------------

>  This patch introduces a new conf variable called heartbeat.recheck.interval.
This conf variable is to make TestDatanodeReport to run quicker. A datanode 
won't be declared dead after a name node has not received its heartbeat for 
2*heartbeat.recheck.interval+10*heartbeat interval. The heartbeat recheck 
interval was set to be 5 minutes. In the test, I set it to be 0.5s. This config 
variable is not intended for admin usage so it is not in hadoop-default.xml.


> DatanodeReport should distinguish live datanodes from dead datanodes
> --------------------------------------------------------------------
>
>                 Key: HADOOP-1846
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1846
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.14.1
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.15.0
>
>         Attachments: datanodeReport.patch
>
>
> DatanodeReport returns both live and dead datanodes and there is no way to 
> distinguish live nodes from dead nodes. But some applications are interested 
> in only live datanodes.  I propose that instead of haveing one 
> datanodeReport, dfs supports two reports: liveDatanodeReport and 
> deadDatanodeReport.

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