Class SnapshotScannerHDFSAclHelper.HDFSAclOperation
java.lang.Object
org.apache.hadoop.hbase.security.access.SnapshotScannerHDFSAclHelper.HDFSAclOperation
- Enclosing class:
- SnapshotScannerHDFSAclHelper
Inner class used to describe modify or remove what type of acl entries(ACCESS, DEFAULT,
ACCESS_AND_DEFAULT) for files or directories(and child files).
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static enum
private static interface
(package private) static enum
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHDFSAclOperation
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, Set<String> users, SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType operationType, boolean recursive, SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType aclType) HDFSAclOperation
(org.apache.hadoop.fs.Path path, SnapshotScannerHDFSAclHelper.HDFSAclOperation parent) -
Method Summary
Modifier and TypeMethodDescriptionprivate List<org.apache.hadoop.fs.permission.AclEntry>
getAclEntries
(SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType aclType, Set<String> users) (package private) List<SnapshotScannerHDFSAclHelper.HDFSAclOperation>
(package private) void
-
Field Details
-
fs
-
path
-
operation
-
recursive
-
aclType
-
defaultAndAccessAclEntries
-
accessAclEntries
-
defaultAclEntries
-
-
Constructor Details
-
HDFSAclOperation
HDFSAclOperation(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, Set<String> users, SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType operationType, boolean recursive, SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType aclType) -
HDFSAclOperation
HDFSAclOperation(org.apache.hadoop.fs.Path path, SnapshotScannerHDFSAclHelper.HDFSAclOperation parent)
-
-
Method Details
-
getChildAclOperations
- Throws:
IOException
-
handleAcl
- Throws:
IOException
-
getAclEntries
private List<org.apache.hadoop.fs.permission.AclEntry> getAclEntries(SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType aclType, Set<String> users)
-