[ 
https://issues.apache.org/jira/browse/HDFS-12272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kihwal Lee resolved HDFS-12272.
-------------------------------
    Resolution: Invalid

> chooseRemoteRack() semantics broken in trunk
> --------------------------------------------
>
>                 Key: HDFS-12272
>                 URL: https://issues.apache.org/jira/browse/HDFS-12272
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: block placement
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Kihwal Lee
>            Priority: Critical
>
> The {{chooseRemoteRack()}} method in the default block placement policy was 
> designed to pick from maximum number of racks. E.g. If asked to pick 2 and 
> there are 2 or more racks available, the two will be on different racks. It 
> wasn't implicit or accidental semantics. There was a specific logic in 
> {{chooseRandom()}} that makes it happen.
> This behavior is broken after HDFS-11530 as this logic was removed from 
> {{chooseRandom()}}. Now the result is unpredictable. Sometimes the replicas 
> end up in the same rack.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to