private boolean hasErrors(String output) {
    String[] splits = output.split("\n");
    for (String split : splits) {
      if (split.startsWith(ERROR_PATTERN)) {
        return true;
      }
    }
    return false;
  }
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