You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by xu...@apache.org on 2019/03/26 21:11:36 UTC
[hbase] branch branch-1.3 updated: HBASE-22067 Fix log in
StochasticLoadBalancer when balancer
This is an automated email from the ASF dual-hosted git repository.
xucang pushed a commit to branch branch-1.3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1.3 by this push:
new 8e98a7b HBASE-22067 Fix log in StochasticLoadBalancer when balancer
8e98a7b is described below
commit 8e98a7b7c0b1b0e6a5938473ce68d391ec1bec0a
Author: Xu Cang <xu...@apache.org>
AuthorDate: Tue Mar 26 11:45:53 2019 -0700
HBASE-22067 Fix log in StochasticLoadBalancer when balancer
---
.../apache/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 eadf2a6..6e1ecfb 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
@@ -335,10 +335,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));
}
}