@Override
  public ChaosMonkey build() {
    loadProperties();

    // Destructive actions to mess things around. Cannot run batch restart.
    // @formatter:off
    Action[] actions1 = new Action[] {
      new RestartRandomRsExceptMetaAction(restartRandomRsExceptMetaSleepTime),
      new RestartActiveMasterAction(restartActiveMasterSleepTime),
      // only allow 2 servers to be dead.
      new RollingBatchRestartRsAction(rollingBatchRestartRSSleepTime, 1.0f, 2, true),
      new ForceBalancerAction(),
      new RestartActiveNameNodeAction(restartActiveNameNodeSleepTime),
      new RestartRandomDataNodeAction(restartRandomDataNodeSleepTime),
      new RestartRandomJournalNodeAction(restartRandomJournalNodeSleepTime),
      new RestartRandomZKNodeAction(restartRandomZKNodeSleepTime),
      new GracefulRollingRestartRsAction(gracefulRollingRestartTSSLeepTime),
      new RollingBatchSuspendResumeRsAction(rollingBatchSuspendRSSleepTime,
          rollingBatchSuspendtRSRatio)
    };
    // @formatter:on

    // Action to log more info for debugging
    Action[] actions2 =
      new Action[] { new DumpClusterStatusAction(), new DumpHdfsClusterStatusAction() };

    return new PolicyBasedChaosMonkey(properties, util,
      new CompositeSequentialPolicy(new DoActionsOncePolicy(action1Period, actions1),
        new PeriodicRandomActionPolicy(action1Period, actions1)),
      new PeriodicRandomActionPolicy(action1Period, actions2));
  }
Creates ChaosMonkeys for doing server restart actions, but not flush / compact / snapshot kind of
actions.
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/ServerAndDependenciesKillingMonkeyFactory.java