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

Hairong Kuang updated HADOOP-1846:
----------------------------------

    Attachment: datanodeReport.patch

This patch includes a change to MiniDFSCluster.waitActive(). It uses 
datanodeReport to get all live datanodes. It waits until all datanodes are 
alive. It also adds one more testcase to TestDatanodeReport.

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