[
https://issues.apache.org/jira/browse/HBASE-25183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215579#comment-17215579
]
Andrew Kyle Purtell commented on HBASE-25183:
---------------------------------------------
bq. We have a ClusterMetrics and usually we will use the metrics there to do
calculation. I think this is also a very good abstraction. All the developers
of the balancer module except the FN balancer are all good at abstraction and
tried best to not rely on master too much. I think this could be kept in the
future. So in general, I do not think we need to modify two places, just add
new metrics to ClusterMetrics and balancer could benefit.
That seems reasonable. This is how a write up could help, getting the answers
to such questions before they are asked. One observation is ClusterMetrics, as
a data structure, is fat and scales up with the size of the cluster. Maybe as
part of this work we can break it up into separate messages/structures that can
be independently updated. Just a thought.
> Move more balancer related classes to hbase-balancer
> ----------------------------------------------------
>
> Key: HBASE-25183
> URL: https://issues.apache.org/jira/browse/HBASE-25183
> Project: HBase
> Issue Type: Umbrella
> Components: Balancer
> Reporter: Duo Zhang
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)