@Override
  public void perform() throws Exception {
    getLogger().info("Performing action: Restart active master");

    ServerName master = cluster.getClusterMetrics().getMasterName();
    restartMaster(master, sleepTime);
  }
Action that tries to restart the active master.
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartActiveMasterAction.java