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 c01ce0fd30c..f54f7dcc813 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 @@ -163,7 +163,12 @@ public class Action { protected void forceBalancer() throws Exception { Admin admin = this.context.getHBaseIntegrationTestingUtility().getHBaseAdmin(); - boolean result = admin.balancer(); + boolean result = false; + try { + result = admin.balancer(); + } catch (Exception e) { + LOG.warn("Got exception while doing balance ", e); + } if (!result) { LOG.error("Balancer didn't succeed"); } diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRsHoldingTableAction.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRsHoldingTableAction.java index ffeab0e10b1..b1ea8e53126 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRsHoldingTableAction.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRsHoldingTableAction.java @@ -43,6 +43,7 @@ public class RestartRsHoldingTableAction extends RestartActionBaseAction { public void perform() throws Exception { HTable table = null; try { + LOG.info("Performing action: Restart random RS holding table " + this.tableName); Configuration conf = context.getHBaseIntegrationTestingUtility().getConfiguration(); table = new HTable(conf, TableName.valueOf(tableName)); } catch (IOException e) {