Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
0.23.0
-
None
-
None
Description
Scaenario:
replication set to 1.
1. Start 1NN and IDN
2. pump 1GB of data.
3. Start one more DN
4. Run balancer with threshold 1.
Now DN1 is added into aboveAvgUtilizedDatanodes and DN2 into belowAvgUtilizedDatanodes. Hence overLoadedBytes and underLoadedBytes will be equal to 0. Resulting in bytesLeftToMove equal to 0. Thus balancer will exit without balancing the blocks.