File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
hadoop-hdfs-project/hadoop-hdfs/src/main/resources Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4277
4277
<value >org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault</value >
4278
4278
<description >
4279
4279
Class representing block placement policy for non-striped files.
4280
- There are four block placement policies currently being supported:
4280
+ There are six block placement policies currently being supported:
4281
4281
BlockPlacementPolicyDefault, BlockPlacementPolicyWithNodeGroup,
4282
- BlockPlacementPolicyRackFaultTolerant and BlockPlacementPolicyWithUpgradeDomain.
4282
+ BlockPlacementPolicyRackFaultTolerant, BlockPlacementPolicyWithUpgradeDomain,
4283
+ AvailableSpaceBlockPlacementPolicy and AvailableSpaceRackFaultTolerantBlockPlacementPolicy.
4283
4284
BlockPlacementPolicyDefault chooses the desired number of targets
4284
4285
for placing block replicas in a default way. BlockPlacementPolicyWithNodeGroup
4285
4286
places block replicas on environment with node-group layer. BlockPlacementPolicyRackFaultTolerant
4286
4287
places the replicas to more racks.
4287
4288
BlockPlacementPolicyWithUpgradeDomain places block replicas that honors upgrade domain policy.
4289
+ AvailableSpaceBlockPlacementPolicy places block replicas based on space balanced policy.
4290
+ AvailableSpaceRackFaultTolerantBlockPlacementPolicy places block replicas based on
4291
+ space balanced rack fault tolerant policy.
4288
4292
The details of placing replicas are documented in the javadoc of the corresponding policy classes.
4289
4293
The default policy is BlockPlacementPolicyDefault, and the corresponding class is
4290
4294
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.
You can’t perform that action at this time.
0 commit comments