Skip to content
Browse files
HBASE-26984 Chaos Monkey thread dies in ITBLL Chaos GracefulRollingRe…
…startRsAction (#4383)

There are two cases here:
  1. Chaos Monkey thread died and there is no chaos after that.
  2. Sometimes, regions are being moved back too quick that region server has not finished its initliazation yet.
     wait sometime to make sure that region server finishes its initialization.

Signed-off-by:  Wellington Chevreuil <>
  • Loading branch information
huaxiangsun committed May 5, 2022
1 parent 9e03253 commit 597098ebbafb0705662699f1cd573982d97aaca1
Showing 2 changed files with 4 additions and 0 deletions.
@@ -63,6 +63,8 @@ public void perform() throws Exception {
} catch (Shell.ExitCodeException e) {
getLogger().info("Problem restarting but presume successful; code={}", e.getExitCode(), e);
} catch (Exception e) {
getLogger().info("Exception but continuing...", e);
sleep(rand.nextInt((int) sleepTime));
@@ -80,6 +80,8 @@ void restartRs(ServerName server, long sleepTime) throws IOException {
getLogger().info("Starting region server: {}", server);
// Sleep some time to make sure RS is online.

void restartZKNode(ServerName server, long sleepTime) throws IOException {

0 comments on commit 597098e

Please sign in to comment.