HBASE-25306 The log in SimpleLoadBalancer#onConfigurationChange is wrong

Closes #2679

Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
Baiqiang Zhao 2020-11-19 22:16:59 +05:30 committed by Viraj Jasani
parent 024349bd5d
commit bace137c36
No known key found for this signature in database
GPG Key ID: B3D6C0B41C8ADFD5
1 changed files with 3 additions and 3 deletions

View File

@ -134,9 +134,9 @@ public class SimpleLoadBalancer extends BaseLoadBalancer {
float originSlop = slop;
float originOverallSlop = overallSlop;
super.setConf(conf);
LOG.info("Update configuration of SimpleLoadBalancer, previous slop is "
+ originSlop + ", current slop is " + slop + "previous overallSlop is" +
originOverallSlop + ", current overallSlop is " + originOverallSlop);
LOG.info("Update configuration of SimpleLoadBalancer, previous slop is {},"
+ " current slop is {}, previous overallSlop is {}, current overallSlop is {}",
originSlop, slop, originOverallSlop, overallSlop);
}
private void setLoad(List<ServerAndLoad> slList, int i, int loadChange){