You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Kihwal Lee (JIRA)" <ji...@apache.org> on 2017/08/07 20:02:01 UTC
[jira] [Resolved] (HDFS-12272) chooseRemoteRack() semantics broken
in trunk
[ 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org