@Override
  public boolean hasStickyBit(FsPermission permission) {
    return permission.getStickyBit();
  }
If there is an AccessException buried somewhere in the chain of failures, wrap the original
exception in an AccessException. Othewise just return the original exception.
shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java