diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
index da19904cfb..bc317eb94d 100755
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
@@ -4277,14 +4277,18 @@
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault
Class representing block placement policy for non-striped files.
- There are four block placement policies currently being supported:
+ There are six block placement policies currently being supported:
BlockPlacementPolicyDefault, BlockPlacementPolicyWithNodeGroup,
- BlockPlacementPolicyRackFaultTolerant and BlockPlacementPolicyWithUpgradeDomain.
+ BlockPlacementPolicyRackFaultTolerant, BlockPlacementPolicyWithUpgradeDomain,
+ AvailableSpaceBlockPlacementPolicy and AvailableSpaceRackFaultTolerantBlockPlacementPolicy.
BlockPlacementPolicyDefault chooses the desired number of targets
for placing block replicas in a default way. BlockPlacementPolicyWithNodeGroup
places block replicas on environment with node-group layer. BlockPlacementPolicyRackFaultTolerant
places the replicas to more racks.
BlockPlacementPolicyWithUpgradeDomain places block replicas that honors upgrade domain policy.
+ AvailableSpaceBlockPlacementPolicy places block replicas based on space balanced policy.
+ AvailableSpaceRackFaultTolerantBlockPlacementPolicy places block replicas based on
+ space balanced rack fault tolerant policy.
The details of placing replicas are documented in the javadoc of the corresponding policy classes.
The default policy is BlockPlacementPolicyDefault, and the corresponding class is
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.