@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class INodeAttributeProvider extends Object
Constructor and Description |
---|
INodeAttributeProvider() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hdfs.server.namenode.INodeAttributes |
getAttributes(byte[][] components,
org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode) |
abstract org.apache.hadoop.hdfs.server.namenode.INodeAttributes |
getAttributes(String[] pathElements,
org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode) |
org.apache.hadoop.hdfs.server.namenode.INodeAttributes |
getAttributes(String fullPath,
org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode)
Deprecated.
|
org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer |
getExternalAccessControlEnforcer(org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer defaultEnforcer)
Can be over-ridden by implementations to provide a custom Access Control
Enforcer that can provide an alternate implementation of the
default permission checking logic.
|
abstract void |
start()
Initialize the provider.
|
abstract void |
stop()
Shutdown the provider.
|
public abstract void start()
public abstract void stop()
@Deprecated public org.apache.hadoop.hdfs.server.namenode.INodeAttributes getAttributes(String fullPath, org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode)
public abstract org.apache.hadoop.hdfs.server.namenode.INodeAttributes getAttributes(String[] pathElements, org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode)
public org.apache.hadoop.hdfs.server.namenode.INodeAttributes getAttributes(byte[][] components, org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode)
public org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer getExternalAccessControlEnforcer(org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcer defaultEnforcer)
defaultEnforcer
- The Default AccessControlEnforcerCopyright © 2020 Apache Software Foundation. All rights reserved.