Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.7.1
-
None
-
None
Description
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 BlockPlacementPolicyDefault.java modification is needed instead we can add a property to specify the placement policy and replica value per rack.
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-7891 A block placement policy with best rack failure tolerance
- Resolved
- is related to
-
HDFS-14546 Document block placement policies
- Resolved