public static void markCorrupted(Path rootdir, String logFileName, FileSystem fs) {
    Path file = new Path(getSplitLogDir(rootdir, logFileName), "corrupt");
    try {
      fs.createNewFile(file);
    } catch (IOException e) {
      LOG.warn("Could not flag a log file as corrupted. Failed to create " + file, e);
    }
  }
Checks if the given path represents a rescan node.
@param zkw  reference to the {@link ZKWatcher} which also contains configuration and constants
@param path the absolute path, starts with '/'
@return whether the path represents a rescan node
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.java