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 "Vinayakumar B (JIRA)" <ji...@apache.org> on 2015/12/04 11:49:11 UTC
[jira] [Resolved] (HDFS-9127) Re-replication for files with enough
replicas in single rack
[ https://issues.apache.org/jira/browse/HDFS-9127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinayakumar B resolved HDFS-9127.
---------------------------------
Resolution: Invalid
This problem doesnt exist on latest code.
Feel free to re-open if found again.
> Re-replication for files with enough replicas in single rack
> ------------------------------------------------------------
>
> Key: HDFS-9127
> URL: https://issues.apache.org/jira/browse/HDFS-9127
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
>
> Found while debugging testcases in HDFS-8647
> *Scenario:*
> =======
> Start a cluster with Single rack with three DN's
> write a file with RF=3
> adde two Nodes with different racks
> As per blockplacement policy ([Rack Awareness|http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/RackAwareness.html]) atleast one replica needs to replicate to newly added rack.But it is not happening..Because of following reason.
> {color:blue}
> when cluster was single rack,block will be removed from {{neededReplications}} after 3 replicas.
> later, after adding new rack, only replications will happen which are present in {{neededReplications}}
> So for the blocks which already have enough replicas, new rack replications will not take place..
> {color}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)