Kai Zheng created HDFS-8558: ------------------------------- Summary: Remove the use of hard-coded cell size value in balancer Dispatcher Key: HDFS-8558 URL: https://issues.apache.org/jira/browse/HDFS-8558 Project: Hadoop HDFS Issue Type: Sub-task Reporter: Kai Zheng Fix For: 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.k.su]: {quote} 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. {quote} >From [~vinayrpet]: {quote} 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. {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)