public void init(ActionContext context) throws IOException {
    this.context = context;
    cluster = context.getHBaseCluster();
    initialStatus = cluster.getInitialClusterMetrics();
    Collection<ServerName> regionServers = initialStatus.getLiveServerMetrics().keySet();
    initialServers = regionServers.toArray(new ServerName[0]);

    monkeyProps = context.getMonkeyProps();
    if (monkeyProps == null) {
      monkeyProps = new Properties();
      IntegrationTestBase.loadMonkeyProperties(monkeyProps, cluster.getConf());
    }

    killMasterTimeout = Long.parseLong(
      monkeyProps.getProperty(KILL_MASTER_TIMEOUT_KEY, KILL_MASTER_TIMEOUT_DEFAULT + ""));
    startMasterTimeout = Long.parseLong(
      monkeyProps.getProperty(START_MASTER_TIMEOUT_KEY, START_MASTER_TIMEOUT_DEFAULT + ""));
    killRsTimeout =
      Long.parseLong(monkeyProps.getProperty(KILL_RS_TIMEOUT_KEY, KILL_RS_TIMEOUT_DEFAULT + ""));
    startRsTimeout =
      Long.parseLong(monkeyProps.getProperty(START_RS_TIMEOUT_KEY, START_RS_TIMEOUT_DEFAULT + ""));
    killZkNodeTimeout = Long.parseLong(
      monkeyProps.getProperty(KILL_ZK_NODE_TIMEOUT_KEY, KILL_ZK_NODE_TIMEOUT_DEFAULT + ""));
    startZkNodeTimeout = Long.parseLong(
      monkeyProps.getProperty(START_ZK_NODE_TIMEOUT_KEY, START_ZK_NODE_TIMEOUT_DEFAULT + ""));
    killDataNodeTimeout = Long.parseLong(
      monkeyProps.getProperty(KILL_DATANODE_TIMEOUT_KEY, KILL_DATANODE_TIMEOUT_DEFAULT + ""));
    startDataNodeTimeout = Long.parseLong(
      monkeyProps.getProperty(START_DATANODE_TIMEOUT_KEY, START_DATANODE_TIMEOUT_DEFAULT + ""));
    killNameNodeTimeout = Long.parseLong(
      monkeyProps.getProperty(KILL_NAMENODE_TIMEOUT_KEY, KILL_NAMENODE_TIMEOUT_DEFAULT + ""));
    startNameNodeTimeout = Long.parseLong(
      monkeyProps.getProperty(START_NAMENODE_TIMEOUT_KEY, START_NAMENODE_TIMEOUT_DEFAULT + ""));
    skipMetaRS = Boolean.parseBoolean(monkeyProps.getProperty(MonkeyConstants.SKIP_META_RS,
      MonkeyConstants.DEFAULT_SKIP_META_RS + ""));
  }
Retrieve the instance's {@link Logger}, for use throughout the class hierarchy.
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java