public static HBaseFsck doHFileQuarantine(Configuration conf, TableName table) throws Exception {
    String[] args =
      { "-sidelineCorruptHFiles", "-ignorePreCheckPermission", table.getNameAsString() };
    HBaseFsck hbck = new HBaseFsck(conf, exec);
    hbck.exec(exec, args);
    return hbck;
  }
Runs hbck with the -sidelineCorruptHFiles option
@param table table constraint
hbase-server/src/test/java/org/apache/hadoop/hbase/util/hbck/HbckTestingUtil.java