hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-12272) chooseRemoteRack() semantics broken in trunk
Date Mon, 07 Aug 2017 20:02:01 GMT

     [ 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

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message