Interface RegistryInternalConstants
public interface RegistryInternalConstants
Internal constants for the registry.
These are the things which aren't visible to users.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis the Hadoop environment variable which propagates the identity of a user in an insecure clusterstatic final intPermissions for readers: 1.static final intPermissions for system services: 31static final intPermissions for a user's root entry: 15.static final StringName of the SASL auth provider which has to be added to ZK server to enable sasl: auth patterns: "org.apache.zookeeper.server.auth.SASLAuthenticationProvider".static final StringPattern of a single entry in the registry path. : "([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])".static final StringString to use as the prefix when declaring a new auth provider: "zookeeper.authProvider".
-
Field Details
-
VALID_PATH_ENTRY_PATTERN
Pattern of a single entry in the registry path. : "([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])".This is what constitutes a valid hostname according to current RFCs. Alphanumeric first two and last one digit, alphanumeric and hyphens allowed in between.
No upper limit is placed on the size of an entry.
- See Also:
-
PERMISSIONS_REGISTRY_READERS
static final int PERMISSIONS_REGISTRY_READERSPermissions for readers: 1.- See Also:
-
PERMISSIONS_REGISTRY_SYSTEM_SERVICES
static final int PERMISSIONS_REGISTRY_SYSTEM_SERVICESPermissions for system services: 31- See Also:
-
PERMISSIONS_REGISTRY_USER_ROOT
static final int PERMISSIONS_REGISTRY_USER_ROOTPermissions for a user's root entry: 15. All except the admin permissions (ACL access) on a node- See Also:
-
SASLAUTHENTICATION_PROVIDER
Name of the SASL auth provider which has to be added to ZK server to enable sasl: auth patterns: "org.apache.zookeeper.server.auth.SASLAuthenticationProvider". Without this callers can connect via SASL, but they can't use it in ACLs- See Also:
-
ZOOKEEPER_AUTH_PROVIDER
String to use as the prefix when declaring a new auth provider: "zookeeper.authProvider".- See Also:
-
HADOOP_USER_NAME
This the Hadoop environment variable which propagates the identity of a user in an insecure cluster- See Also:
-