Amithsha created HDFS-14220: ------------------------------- Summary: Enable Replica Placement Value Per Rack Key: HDFS-14220 URL: https://issues.apache.org/jira/browse/HDFS-14220 Project: Hadoop HDFS Issue Type: New Feature Components: datanode Affects Versions: 2.7.1 Reporter: Amithsha
By default, Replica placement per rack will be taken care by BlockPlacementPolicyDefault.java . With 2 if conditions # numOfRacks <1 # numOfRacks > 1 and the placement will happen as 1 on localrack, 2 on remote rack. If a user needs max of 1 replica per rack then he need to modify the BlockPlacementPolicyDefault.java -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org