@InterfaceAudience.Public @InterfaceStability.Evolving public interface RegistryConstants
| Modifier and Type | Field and Description | 
|---|---|
| static String | DEFAULT_REGISTRY_CLIENT_JAAS_CONTEXTdefault client-side registry JAAS context: "Client" | 
| static boolean | DEFAULT_REGISTRY_ENABLEDDefaut value for enabling the registry in the RM: false | 
| static boolean | DEFAULT_REGISTRY_SECUREDefault registry security policy: false. | 
| static String | DEFAULT_REGISTRY_SYSTEM_ACCOUNTSDefault system accounts given global access to the registry: "sasl:yarn@, sasl:mapred@, sasl:hdfs@, sasl:hadoop@". | 
| static String | DEFAULT_REGISTRY_USER_ACCOUNTSDefault system acls: "". | 
| static String | DEFAULT_REGISTRY_ZK_QUORUMThe default zookeeper quorum binding for the registry: "localhost:2181" | 
| static int | DEFAULT_ZK_CONNECTION_TIMEOUTThe default ZK connection timeout: 15000. | 
| static String | DEFAULT_ZK_REGISTRY_ROOTDefault root of the yarn registry: "/registry" | 
| static int | DEFAULT_ZK_RETRY_CEILINGDefault limit on retries: 60000. | 
| static int | DEFAULT_ZK_RETRY_INTERVALThe default interval between connection retries: 1000. | 
| static int | DEFAULT_ZK_RETRY_TIMESThe default # of times to retry a ZK connection: 5. | 
| static int | DEFAULT_ZK_SESSION_TIMEOUTThe default ZK session timeout: 60000. | 
| static String | KEY_REGISTRY_CLIENT_AUTHRegistry client authentication policy. | 
| static String | KEY_REGISTRY_CLIENT_AUTHENTICATION_IDRegistry client authentication ID | 
| static String | KEY_REGISTRY_CLIENT_AUTHENTICATION_PASSWORDRegistry client authentication password. | 
| static String | KEY_REGISTRY_CLIENT_JAAS_CONTEXTKey to define the JAAS context. | 
| static String | KEY_REGISTRY_ENABLEDflag to indicate whether or not the registry should
 be enabled in the RM: "hadoop.registry.rm.enabled" | 
| static String | KEY_REGISTRY_KERBEROS_REALMThe kerberos realm: "hadoop.registry.kerberos.realm". | 
| static String | KEY_REGISTRY_SECUREKey to set if the registry is secure: "hadoop.registry.secure". | 
| static String | KEY_REGISTRY_SYSTEM_ACCOUNTSA comma separated list of Zookeeper ACL identifiers with
 system access to the registry in a secure cluster: "hadoop.registry.system.accounts". | 
| static String | KEY_REGISTRY_USER_ACCOUNTSA comma separated list of Zookeeper ACL identifiers with
 system access to the registry in a secure cluster: "hadoop.registry.user.accounts". | 
| static String | KEY_REGISTRY_ZK_CONNECTION_TIMEOUTZookeeper connection timeout in milliseconds: "hadoop.registry.zk.connection.timeout.ms". | 
| static String | KEY_REGISTRY_ZK_QUORUMList of hostname:port pairs defining the
 zookeeper quorum binding for the registry "hadoop.registry.zk.quorum" | 
| static String | KEY_REGISTRY_ZK_RETRY_CEILINGZookeeper retry limit in milliseconds, during
 exponential backoff: "hadoop.registry.zk.retry.ceiling.ms". | 
| static String | KEY_REGISTRY_ZK_RETRY_INTERVALZookeeper connect interval in milliseconds: "hadoop.registry.zk.retry.interval.ms". | 
| static String | KEY_REGISTRY_ZK_RETRY_TIMESZookeeper connection retry count before failing: "hadoop.registry.zk.retry.times". | 
| static String | KEY_REGISTRY_ZK_ROOTRoot path in the ZK tree for the registry: "hadoop.registry.zk.root" | 
| static String | KEY_REGISTRY_ZK_SESSION_TIMEOUTZookeeper session timeout in milliseconds: "hadoop.registry.zk.session.timeout.ms" | 
| static String | PATH_SYSTEM_SERVICESpath to system services off the root : "/services/". | 
| static String | PATH_USER_SERVICESpath to system services under a user's home path : "/services/". | 
| static String | PATH_USERSpath to users off the root: "/users/". | 
| static String | REGISTRY_CLIENT_AUTH_ANONYMOUSNo authentication; client is anonymous | 
| static String | REGISTRY_CLIENT_AUTH_DIGESTUsername/password is the authentication mechanism. | 
| static String | REGISTRY_CLIENT_AUTH_KERBEROSRegistry client uses Kerberos: authentication is automatic from
 logged in user | 
| static String | REGISTRY_PREFIXprefix for registry configuration options: "hadoop.registry.". | 
| static String | SUBPATH_COMPONENTSpath under a service record to point to components of that service:
  "/components/". | 
| static String | ZK_PREFIXPrefix for zookeeper-specific options: "hadoop.registry.zk." | 
static final String REGISTRY_PREFIX
hadoop. and not YARN? It can
 live outside YARNstatic final String ZK_PREFIX
For clients using other protocols, these options are not supported.
static final String KEY_REGISTRY_ENABLED
static final boolean DEFAULT_REGISTRY_ENABLED
static final String KEY_REGISTRY_SECURE
static final boolean DEFAULT_REGISTRY_SECURE
static final String KEY_REGISTRY_ZK_ROOT
static final String DEFAULT_ZK_REGISTRY_ROOT
static final String KEY_REGISTRY_CLIENT_AUTH
This is only used in secure clusters.
 If the Factory methods of RegistryOperationsFactory
 are used, this key does not need to be set: it is set
 up based on the factory method used.
static final String REGISTRY_CLIENT_AUTH_KERBEROS
static final String REGISTRY_CLIENT_AUTH_DIGEST
KEY_REGISTRY_CLIENT_AUTHENTICATION_ID
 and KEY_REGISTRY_CLIENT_AUTHENTICATION_PASSWORD must be set.static final String REGISTRY_CLIENT_AUTH_ANONYMOUS
static final String KEY_REGISTRY_CLIENT_AUTHENTICATION_ID
 This is only used in secure clusters with
 KEY_REGISTRY_CLIENT_AUTH set to
 REGISTRY_CLIENT_AUTH_DIGEST
static final String KEY_REGISTRY_CLIENT_AUTHENTICATION_PASSWORD
This is only used in secure clusters with the client set to use digest (not SASL or anonymouse) authentication.
 Specifically, KEY_REGISTRY_CLIENT_AUTH set to
 REGISTRY_CLIENT_AUTH_DIGEST
static final String KEY_REGISTRY_ZK_QUORUM
static final String DEFAULT_REGISTRY_ZK_QUORUM
static final String KEY_REGISTRY_ZK_SESSION_TIMEOUT
static final int DEFAULT_ZK_SESSION_TIMEOUT
static final String KEY_REGISTRY_ZK_CONNECTION_TIMEOUT
static final int DEFAULT_ZK_CONNECTION_TIMEOUT
static final String KEY_REGISTRY_ZK_RETRY_TIMES
static final int DEFAULT_ZK_RETRY_TIMES
static final String KEY_REGISTRY_ZK_RETRY_INTERVAL
static final int DEFAULT_ZK_RETRY_INTERVAL
static final String KEY_REGISTRY_ZK_RETRY_CEILING
static final int DEFAULT_ZK_RETRY_CEILING
static final String KEY_REGISTRY_SYSTEM_ACCOUNTS
KEY_REGISTRY_KERBEROS_REALM.static final String DEFAULT_REGISTRY_SYSTEM_ACCOUNTS
static final String KEY_REGISTRY_USER_ACCOUNTS
static final String DEFAULT_REGISTRY_USER_ACCOUNTS
static final String KEY_REGISTRY_KERBEROS_REALM
static final String KEY_REGISTRY_CLIENT_JAAS_CONTEXT
static final String DEFAULT_REGISTRY_CLIENT_JAAS_CONTEXT
static final String PATH_USERS
static final String PATH_SYSTEM_SERVICES
static final String PATH_USER_SERVICES
static final String SUBPATH_COMPONENTS
Copyright © 2015 Apache Software Foundation. All rights reserved.