HDFS-16341. Fix BlockPlacementPolicy details in hdfs defaults. (#3691). Contributed by guophilipse.
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
parent
2950c5405b
commit
40ab9c8ba7
@ -4277,14 +4277,18 @@
|
|||||||
<value>org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault</value>
|
<value>org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault</value>
|
||||||
<description>
|
<description>
|
||||||
Class representing block placement policy for non-striped files.
|
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,
|
BlockPlacementPolicyDefault, BlockPlacementPolicyWithNodeGroup,
|
||||||
BlockPlacementPolicyRackFaultTolerant and BlockPlacementPolicyWithUpgradeDomain.
|
BlockPlacementPolicyRackFaultTolerant, BlockPlacementPolicyWithUpgradeDomain,
|
||||||
|
AvailableSpaceBlockPlacementPolicy and AvailableSpaceRackFaultTolerantBlockPlacementPolicy.
|
||||||
BlockPlacementPolicyDefault chooses the desired number of targets
|
BlockPlacementPolicyDefault chooses the desired number of targets
|
||||||
for placing block replicas in a default way. BlockPlacementPolicyWithNodeGroup
|
for placing block replicas in a default way. BlockPlacementPolicyWithNodeGroup
|
||||||
places block replicas on environment with node-group layer. BlockPlacementPolicyRackFaultTolerant
|
places block replicas on environment with node-group layer. BlockPlacementPolicyRackFaultTolerant
|
||||||
places the replicas to more racks.
|
places the replicas to more racks.
|
||||||
BlockPlacementPolicyWithUpgradeDomain places block replicas that honors upgrade domain policy.
|
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 details of placing replicas are documented in the javadoc of the corresponding policy classes.
|
||||||
The default policy is BlockPlacementPolicyDefault, and the corresponding class is
|
The default policy is BlockPlacementPolicyDefault, and the corresponding class is
|
||||||
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.
|
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.
|
||||||
|
Loading…
Reference in New Issue
Block a user