Class INodeAttributeProvider
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceorg.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcerThe AccessControlEnforcer allows implementations to override the default File System permission checking logic enforced on a file system objectstatic classorg.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AuthorizationContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hdfs.server.namenode.INodeAttributesgetAttributes(byte[][] components, org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode) abstract org.apache.hadoop.hdfs.server.namenode.INodeAttributesgetAttributes(String[] pathElements, org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode) org.apache.hadoop.hdfs.server.namenode.INodeAttributesgetAttributes(String fullPath, org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode) Deprecated.org.apache.hadoop.hdfs.server.namenode.INodeAttributeProvider.AccessControlEnforcergetExternalAccessControlEnforcer(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 voidstart()Initialize the provider.abstract voidstop()Shutdown the provider.
-
Constructor Details
-
INodeAttributeProvider
public INodeAttributeProvider()
-
-
Method Details
-
start
public abstract void start()Initialize the provider. This method is called at NameNode startup time. -
stop
public abstract void stop()Shutdown the provider. This method is called at NameNode shutdown time. -
getAttributes
@Deprecated public org.apache.hadoop.hdfs.server.namenode.INodeAttributes getAttributes(String fullPath, org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode) Deprecated. -
getAttributes
public abstract org.apache.hadoop.hdfs.server.namenode.INodeAttributes getAttributes(String[] pathElements, org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode) -
getAttributes
public org.apache.hadoop.hdfs.server.namenode.INodeAttributes getAttributes(byte[][] components, org.apache.hadoop.hdfs.server.namenode.INodeAttributes inode) -
getExternalAccessControlEnforcer
public 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.- Parameters:
defaultEnforcer- The Default AccessControlEnforcer- Returns:
- The AccessControlEnforcer to use
-