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

Walter Su commented on HDFS-7891:
---------------------------------

The previous testresult.txt is wrong. I simply let 
maxNodesPerRack=Math.ceil(X/R), If choosing 14 targets from 13 racks, 
maxNodesPerRack will be 2, and the number of invocation of random is much less. 
It looks fast, but it's wrong.
I test again with {{ HDFS-7891.003.patch}} , and the result is correct, but not 
good. So I'm re-considering sorted rack method.

> 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.003.patch, 
> HDFS-7891.patch, PlacementPolicyBenchmark.txt, testresult.txt
>
>
> 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