Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
0.23.7, 2.1.0-beta
-
None
Description
getMaxNodesPerRack() calculates the max replicas/rack like this:
int maxNodesPerRack = (totalNumOfReplicas-1)/clusterMap.getNumOfRacks()+2;
Since this does not consider the racks that are being decommissioned and the decommissioning state is only checked later in isGoodTarget(), certain blocks are not replicated even when there are many racks and nodes.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-9287 Block placement completely fails if too many nodes are decommissioning
- Resolved