Package | Description |
---|---|
org.apache.hadoop.fs |
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web. |
org.apache.hadoop.fs.adl |
Supporting classes for metrics instrumentation.
|
org.apache.hadoop.fs.permission |
This package provides support for HDFS permission and ACL.
|
org.apache.hadoop.fs.viewfs | |
org.apache.hadoop.hdfs.inotify |
Modifier and Type | Method and Description |
---|---|
void |
FileContext.modifyAclEntries(Path path,
List<AclEntry> aclSpec)
Modifies ACL entries of files and directories.
|
void |
AbstractFileSystem.modifyAclEntries(Path path,
List<AclEntry> aclSpec)
Modifies ACL entries of files and directories.
|
void |
FilterFileSystem.modifyAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ChecksumFileSystem.modifyAclEntries(Path src,
List<AclEntry> aclSpec) |
void |
FileSystem.modifyAclEntries(Path path,
List<AclEntry> aclSpec)
Modifies ACL entries of files and directories.
|
void |
FileContext.removeAclEntries(Path path,
List<AclEntry> aclSpec)
Removes ACL entries from files and directories.
|
void |
AbstractFileSystem.removeAclEntries(Path path,
List<AclEntry> aclSpec)
Removes ACL entries from files and directories.
|
void |
FilterFileSystem.removeAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ChecksumFileSystem.removeAclEntries(Path src,
List<AclEntry> aclSpec) |
void |
FileSystem.removeAclEntries(Path path,
List<AclEntry> aclSpec)
Removes ACL entries from files and directories.
|
void |
FileContext.setAcl(Path path,
List<AclEntry> aclSpec)
Fully replaces ACL of files and directories, discarding all existing
entries.
|
void |
AbstractFileSystem.setAcl(Path path,
List<AclEntry> aclSpec)
Fully replaces ACL of files and directories, discarding all existing
entries.
|
void |
FilterFileSystem.setAcl(Path path,
List<AclEntry> aclSpec) |
void |
ChecksumFileSystem.setAcl(Path src,
List<AclEntry> aclSpec) |
void |
FileSystem.setAcl(Path path,
List<AclEntry> aclSpec)
Fully replaces ACL of files and directories, discarding all existing
entries.
|
Modifier and Type | Method and Description |
---|---|
void |
AdlFileSystem.modifyAclEntries(Path path,
List<AclEntry> aclSpec)
Modifies ACL entries of files and directories.
|
void |
AdlFileSystem.removeAclEntries(Path path,
List<AclEntry> aclSpec)
Removes ACL entries from files and directories.
|
void |
AdlFileSystem.setAcl(Path path,
List<AclEntry> aclSpec)
Fully replaces ACL of files and directories, discarding all existing
entries.
|
Modifier and Type | Method and Description |
---|---|
static AclEntry |
AclEntry.parseAclEntry(String aclStr,
boolean includePermission)
Parses a string representation of an ACL into a AclEntry object.
The expected format of ACL entries in the string parameter is the same format produced by the toStringStable() method. |
Modifier and Type | Method and Description |
---|---|
List<AclEntry> |
AclStatus.getEntries()
Returns the list of all ACL entries, ordered by their natural ordering.
|
static List<AclEntry> |
AclEntry.parseAclSpec(String aclSpec,
boolean includePermission)
Parses a string representation of an ACL spec into a list of AclEntry
objects.
|
Modifier and Type | Method and Description |
---|---|
FsAction |
AclStatus.getEffectivePermission(AclEntry entry)
Get the effective permission for the AclEntry
|
FsAction |
AclStatus.getEffectivePermission(AclEntry entry,
FsPermission permArg)
Get the effective permission for the AclEntry.
|
Modifier and Type | Method and Description |
---|---|
static String |
AclEntry.aclSpecToString(List<AclEntry> aclSpec)
Convert a List of AclEntries into a string - the reverse of parseAclSpec.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewFs.modifyAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ViewFileSystem.modifyAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ViewFs.removeAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ViewFileSystem.removeAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ViewFs.setAcl(Path path,
List<AclEntry> aclSpec) |
void |
ViewFileSystem.setAcl(Path path,
List<AclEntry> aclSpec) |
Modifier and Type | Method and Description |
---|---|
List<AclEntry> |
Event.MetadataUpdateEvent.getAcls()
The full set of ACLs currently associated with this file or directory.
|
Copyright © 2019 Apache Software Foundation. All rights reserved.