public static void main(String[] args) throws Exception {
    // Run chaos monkeys 15 seconds, then stop them.
    // After 10 seconds, run chaos monkeys again.
    Configuration conf = HBaseConfiguration.create();
    IntegrationTestingUtility.setUseDistributedCluster(conf);
    int exitCode = ToolRunner.run(conf, new IntegrationTestMonkeys(), args);
    System.exit(exitCode);
  }
This is an integration test for showing a simple usage of how to use {@link Monkeys} to control
{@link ChaosMonkeyRunner}.
hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestMonkeys.java