hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7891) a block placement policy with best fault tolerance
Date Mon, 16 Mar 2015 22:19:38 GMT

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

Zhe Zhang commented on HDFS-7891:
---------------------------------

Thanks Walter for the patch! The logic looks good.

It seems {{chooseTargetFaultTolerant}} is similar to the private {{chooseTarget}} method in
{{BlockPlacementPolicyDefault}}. I wonder if we can reuse that method by setting the {{maxNodesPerRack}}
argument?

> a block placement policy with best fault tolerance
> --------------------------------------------------
>
>                 Key: HDFS-7891
>                 URL: https://issues.apache.org/jira/browse/HDFS-7891
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Walter Su
>            Assignee: Walter Su
>         Attachments: HDFS-7891.002.patch, HDFS-7891.patch
>
>
> a block placement policy tries its best to place replicas to most racks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message