public FileStatus getFileStatus(FileSystem fs) throws IOException {
    IOException exception = null;
    for (int i = 0; i < locations.length; ++i) {
      try {
        return fs.getFileStatus(locations[i]);
      } catch (FileNotFoundException | AccessControlException e) {
        exception = handleAccessLocationException(this, e, exception);
      }
    }
    throw exception;
  }
Get the FileStatus of the referenced file.
@param fs {@link FileSystem} on which to get the file status
@return InputStream for the hfile link.
@throws IOException on unexpected error.
hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java