You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2025/03/23 14:47:52 UTC
(hbase) branch branch-2.6 updated: HBASE-29057 Backport missing changes in HBASE-28023 to branch-2 (#6844)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.6 by this push:
new 6450ef3a469 HBASE-29057 Backport missing changes in HBASE-28023 to branch-2 (#6844)
6450ef3a469 is described below
commit 6450ef3a4698f5e1006df324d94e2c1459a89229
Author: hiping-tech <58...@users.noreply.github.com>
AuthorDate: Sun Mar 23 22:39:25 2025 +0800
HBASE-29057 Backport missing changes in HBASE-28023 to branch-2 (#6844)
Co-authored-by: lvhaiping.lhp <lv...@alibaba-inc.com>
Signed-off-by: Duo Zhang <zh...@apache.org>
(cherry picked from commit b649bb9df1fcecfe1fd0480d01e56bd97c9384de)
---
.../src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java
index 7df125ce5d6..5675f5ce219 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java
@@ -197,7 +197,7 @@ public abstract class Action {
getLogger().info("Suspending regionserver {}", server);
cluster.suspendRegionServer(server);
if (!(cluster instanceof MiniHBaseCluster)) {
- cluster.waitForRegionServerToStop(server, killRsTimeout);
+ cluster.waitForRegionServerToSuspend(server, killRsTimeout);
}
getLogger().info("Suspending regionserver {}. Reported num of rs:{}", server,
cluster.getClusterMetrics().getLiveServerMetrics().size());
@@ -207,7 +207,7 @@ public abstract class Action {
getLogger().info("Resuming regionserver {}", server);
cluster.resumeRegionServer(server);
if (!(cluster instanceof MiniHBaseCluster)) {
- cluster.waitForRegionServerToStart(server.getHostname(), server.getPort(), startRsTimeout);
+ cluster.waitForRegionServerToResume(server, startRsTimeout);
}
getLogger().info("Resuming regionserver {}. Reported num of rs:{}", server,
cluster.getClusterMetrics().getLiveServerMetrics().size());