Package org.apache.hadoop.tools.CopyListing

Examples of org.apache.hadoop.tools.CopyListing.AclsNotSupportedException


  public static void checkFileSystemAclSupport(FileSystem fs)
      throws AclsNotSupportedException {
    try {
      fs.getAclStatus(new Path(Path.SEPARATOR));
    } catch (Exception e) {
      throw new AclsNotSupportedException("ACLs not supported for file system: "
        + fs.getUri());
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.tools.CopyListing.AclsNotSupportedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.