You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ashwin Shankar (JIRA)" <ji...@apache.org> on 2014/07/18 04:51:05 UTC
[jira] [Created] (HDFS-6701) Make seed optional
NetworkTopology#sortByDistance
Ashwin Shankar created HDFS-6701:
------------------------------------
Summary: Make seed optional 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
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)