@Override
    public long skip(long n) throws IOException {
      long skipped;

      try {
        skipped = in.skip(n);
      } catch (FileNotFoundException e) {
        skipped = tryOpen().skip(n);
      }

      if (skipped > 0) {
        pos += skipped;
      }
      return skipped;
    }
FileLink InputStream that handles the switch between the original path and the alternative
locations, when the file is moved.
hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java