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

Reply via email to