From 6f151269d3f91f71b6df595103c31cbeec531f64 Mon Sep 17 00:00:00 2001 From: Xu Cang Date: Tue, 26 Mar 2019 11:45:53 -0700 Subject: [PATCH] HBASE-22067 Fix log in StochasticLoadBalancer when balancer --- .../hadoop/hbase/master/balancer/StochasticLoadBalancer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java index 84cf30a454b..065aa3eb6e6 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java @@ -388,10 +388,10 @@ public class StochasticLoadBalancer extends BaseLoadBalancer { computedMaxSteps = Math.min(this.maxSteps, calculatedMaxSteps); if (calculatedMaxSteps > maxSteps) { LOG.warn(String.format("calculatedMaxSteps:%d for loadbalancer's stochastic walk is larger " - + "than maxSteps:%dß. Hence load balancing may not work well. Setting parameter " + + "than maxSteps:%d. Hence load balancing may not work well. Setting parameter " + "\"hbase.master.balancer.stochastic.runMaxSteps\" to true to overcome this issue." + "(This config change does not require service restart)", calculatedMaxSteps, - maxRunningTime)); + maxSteps)); } }