Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-6840 Clients are always sent to the same datanode when read is off rack
- Closed