Affects Version/s: None
Fix Version/s: HDFS-7285
This is part of work in
HDFS-8494. To make it easy and discuss this case better, open this issue to remove the use of hard-coded cell size value in balancer Dispatcher separately. Also copied some good comments here:
From Walter Su:
It's easy to pass cellSize from BlockInfoStriped to Dispatcher. But the question is BlockInfoStriped doesn't have it.
You have to get it by: BlockInfoStriped --> getBlockCollection --> getZone --> getCellSize. A bit complicated, isn't it?
I think BlockInfoStriped needs to keep cellSize.
I too was thinking the same when the FSImageLoader problem has came up. This will increase the memory usage by ~4bytes for each block though.