[
https://issues.apache.org/jira/browse/HBASE-25834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-25834.
-------------------------------
Fix Version/s: 2.5.0
3.0.0-alpha-1
Hadoop Flags: Reviewed
Release Note:
Remove balanceTable method from LoadBalancer interface as we never call it
outside balancer implementation.
Mark balanceTable method as protected in BaseLoadBalancer.
Mark balanceCluster method as final in BaseLoadBalancer, the implementation
classes should not override it anymore, just implement the balanceTable method
is enough.
Resolution: Fixed
Pushed to master and branch-2.
Thanks [~niuyulin] for reviewing.
> Remove balanceTable method from LoadBalancer interface
> ------------------------------------------------------
>
> Key: HBASE-25834
> URL: https://issues.apache.org/jira/browse/HBASE-25834
> Project: HBase
> Issue Type: Sub-task
> Components: Balancer
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.5.0
>
>
> The balanceTable method is never called outside balancer implementation, so
> let's remove it from the interface to reduce the number of public methods,
> which could also reduce the work of synchronization.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)