hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1846) DatanodeReport should distinguish live datanodes from dead datanodes
Date Tue, 11 Sep 2007 17:51:32 GMT

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

dhruba borthakur commented on HADOOP-1846:
------------------------------------------

Code look good. Two minor comments:

1. In MiniDFSCluster. waitActive(), we should probably be invoking client.datanodeReport(ALL)
rather than client.datanodeReport(LIVE).

2. This patch introduces a new conf variable called heartbeat.recheck.interval.
is this really needed?

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


Mime
View raw message