Skip to content

Commit 306c10e

Browse files
committed
adddesc
1 parent bea061f commit 306c10e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4220,14 +4220,18 @@
42204220
<value>org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault</value>
42214221
<description>
42224222
Class representing block placement policy for non-striped files.
4223-
There are four block placement policies currently being supported:
4223+
There are six block placement policies currently being supported:
42244224
BlockPlacementPolicyDefault, BlockPlacementPolicyWithNodeGroup,
4225-
BlockPlacementPolicyRackFaultTolerant and BlockPlacementPolicyWithUpgradeDomain.
4225+
BlockPlacementPolicyRackFaultTolerant, BlockPlacementPolicyWithUpgradeDomain,
4226+
AvailableSpaceBlockPlacementPolicy and AvailableSpaceRackFaultTolerantBlockPlacementPolicy.
42264227
BlockPlacementPolicyDefault chooses the desired number of targets
42274228
for placing block replicas in a default way. BlockPlacementPolicyWithNodeGroup
42284229
places block replicas on environment with node-group layer. BlockPlacementPolicyRackFaultTolerant
42294230
places the replicas to more racks.
42304231
BlockPlacementPolicyWithUpgradeDomain places block replicas that honors upgrade domain policy.
4232+
AvailableSpaceBlockPlacementPolicy places block replicas based on space balanced policy.
4233+
AvailableSpaceRackFaultTolerantBlockPlacementPolicy places block replicas based on
4234+
space balanced rack fault tolerant policy.
42314235
The details of placing replicas are documented in the javadoc of the corresponding policy classes.
42324236
The default policy is BlockPlacementPolicyDefault, and the corresponding class is
42334237
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.

0 commit comments

Comments
 (0)