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

Ashwin Shankar commented on HDFS-6701:
--------------------------------------

Test failures are unrelated.
[~andrew.wang] , did you have any other comments ?

> Make seed optional in NetworkTopology#sortByDistance
> ----------------------------------------------------
>
>                 Key: HDFS-6701
>                 URL: https://issues.apache.org/jira/browse/HDFS-6701
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.5.0
>            Reporter: Ashwin Shankar
>            Assignee: Ashwin Shankar
>         Attachments: HDFS-6701-v1.txt, HDFS-6701-v3-branch2.txt, 
> HDFS-6701-v3.txt
>
>
> Currently seed in NetworkTopology#sortByDistance is set to the blockid which 
> causes the RNG to generate same pseudo random order for each block. If no 
> node local block location is present,this causes the same rack local replica 
> to be hit for a particular block.
> It'll be good to make the seed optional, so that one could turn it off if 
> they want block locations of a block to be randomized.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to