You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2021/08/25 14:58:37 UTC
[hbase] branch branch-2.3 updated: HBASE-26219 Negative time is
logged while waiting on regionservers (#3622)
This is an automated email from the ASF dual-hosted git repository.
psomogyi pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.3 by this push:
new 0c14ac8 HBASE-26219 Negative time is logged while waiting on regionservers (#3622)
0c14ac8 is described below
commit 0c14ac808114b8faaee1d3998b315b6d6e326c52
Author: lpalasthy <80...@users.noreply.github.com>
AuthorDate: Wed Aug 25 16:24:32 2021 +0200
HBASE-26219 Negative time is logged while waiting on regionservers (#3622)
Signed-off-by: Wei-Chiu Chuang <we...@apache.org>
Signed-off-by: Peter Somogyi <ps...@apache.org>
Signed-off-by: Duo Zhang <zh...@apache.org>
---
.../src/main/java/org/apache/hadoop/hbase/master/ServerManager.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
index 9dc3957..94c5460 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
@@ -811,8 +811,9 @@ public class ServerManager {
lastLogTime = now;
String msg =
"Waiting on regionserver count=" + count + "; waited="+
- slept + "ms, expecting min=" + minToStart + " server(s), max="+ getStrForMax(maxToStart) +
- " server(s), " + "timeout=" + timeout + "ms, lastChange=" + (lastCountChange - now) + "ms";
+ slept + "ms, expecting min=" + minToStart + " server(s), max="
+ + getStrForMax(maxToStart) + " server(s), " + "timeout=" + timeout
+ + "ms, lastChange=" + (now - lastCountChange) + "ms";
LOG.info(msg);
status.setStatus(msg);
}