[
https://issues.apache.org/jira/browse/HBASE-25872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346171#comment-17346171
]
Hudson commented on HBASE-25872:
--------------------------------
Results for branch master
[build #295 on
builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/295/]:
(/) *{color:green}+1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/295/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/295/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/295/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> Add documentation for LoadBalancer about synchronization
> --------------------------------------------------------
>
> Key: HBASE-25872
> URL: https://issues.apache.org/jira/browse/HBASE-25872
> Project: HBase
> Issue Type: Sub-task
> Components: Balancer, documentation
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.5.0
>
>
> In general, the balanceCluster call is not thread safe and we only allow one
> balanceCluster call at the same time, so we need to synchronize
> balanceCluster, onConfigurationChange, and setClusterMetrics(which will be
> called periodically, maybe we should rename it to updateClusterMetrics).
> Most setters do not need to be synchronized as they will only be called once
> before initialization.
> And anothe group of methods are XXXAssignment, these methods should be thread
> safe and should not be synchronized to improve the assignment performance.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)