@Override
  public void checkFileAccess(FileSystem fs, FileStatus stat, FsAction action)
      throws IOException, AccessControlException, Exception {
    try {
      if (accessMethod == null) {
        // Have to rely on Hive implementation of filesystem permission checks.
        DefaultFileAccess.checkFileAccess(fs, stat, action);
      } else {
        accessMethod.invoke(fs, stat.getPath(), action);
      }
    } catch (Exception err) {
      throw wrapAccessException(err);
    }
  }
Proxy file system also needs to override the access() method behavior.
Cannot add Override annotation since FileSystem.access() may not exist in
the version of hadoop used to build Hive.
shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java