public void init(String location, long timeout) {
    this.healthCheckScript = location;
    this.scriptTimeout = timeout;
    ArrayList<String> execScript = new ArrayList<>();
    execScript.add(healthCheckScript);
    this.shexec = new ShellCommandExecutor(execScript.toArray(new String[execScript.size()]), null,
      null, scriptTimeout);
    LOG.info("HealthChecker initialized with script at " + this.healthCheckScript + ", timeout="
      + timeout);
  }
Initialize.
@param location the location of the health script
@param timeout  the timeout to be used for the health script
hbase-server/src/main/java/org/apache/hadoop/hbase/HealthChecker.java