@InterfaceAudience.Private public static class FSOperations.FSSetAcl extends Object implements FileSystemAccess.FileSystemExecutor<Void>
Constructor and Description |
---|
FSOperations.FSSetAcl(String path,
String aclSpec)
Creates a set-acl executor.
|
public FSOperations.FSSetAcl(String path, String aclSpec)
path
- path to set the acl.aclSpec
- acl to set.public Void execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
execute
in interface FileSystemAccess.FileSystemExecutor<Void>
fs
- filesystem instance to use.IOException
- thrown if an IO error occurred.Copyright © 2016 Apache Software Foundation. All Rights Reserved.