Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
1.0.0, 2.0.0-alpha
-
None
-
None
Description
Let's assume:
1. replica factor = 4
2. source node in rack 1 has 1st replica, 2nd and 3rd replica are in rack 2, 4th replica in rack3 and target node is in rack3.
So, It should be good for balancer to move replica from source node to target node but will return "false" in isGoodBlockCandidate(). I think we can fix it by simply making judgement that at least one replica node (other than source) is on the different rack of target node.
Attachments
Issue Links
- is related to
-
HDFS-3495 Update Balancer to support new NetworkTopology with NodeGroup
- Closed