org.apache.hadoop.yarn.conf
Class YarnConfiguration

java.lang.Object
  extended by org.apache.hadoop.conf.Configuration
      extended by org.apache.hadoop.yarn.conf.YarnConfiguration
All Implemented Interfaces:
Iterable<Map.Entry<String,String>>, Writable

@InterfaceAudience.Public
@InterfaceStability.Evolving
public class YarnConfiguration
extends Configuration


Field Summary
static int APPLICATION_MAX_TAG_LENGTH
           
static int APPLICATION_MAX_TAGS
           
static int APPLICATION_TYPE_LENGTH
          Default application type length
static String AUTO_FAILOVER_EMBEDDED
           
static String AUTO_FAILOVER_ENABLED
           
static String AUTO_FAILOVER_PREFIX
           
static String AUTO_FAILOVER_ZK_BASE_PATH
           
static String CLIENT_FAILOVER_MAX_ATTEMPTS
           
static String CLIENT_FAILOVER_PREFIX
           
static String CLIENT_FAILOVER_PROXY_PROVIDER
           
static String CLIENT_FAILOVER_RETRIES
           
static String CLIENT_FAILOVER_RETRIES_ON_SOCKET_TIMEOUTS
           
static String CLIENT_FAILOVER_SLEEPTIME_BASE_MS
           
static String CLIENT_FAILOVER_SLEEPTIME_MAX_MS
           
static String DEBUG_NM_DELETE_DELAY_SEC
          Delay before deleting resource to ease debugging of NM issues
static String DEFAULT_APPLICATION_NAME
          Default application name
static String DEFAULT_APPLICATION_TYPE
          Default application type
static boolean DEFAULT_AUTO_FAILOVER_EMBEDDED
           
static boolean DEFAULT_AUTO_FAILOVER_ENABLED
           
static String DEFAULT_AUTO_FAILOVER_ZK_BASE_PATH
           
static String DEFAULT_CLIENT_FAILOVER_PROXY_PROVIDER
           
static int DEFAULT_CLIENT_FAILOVER_RETRIES
           
static int DEFAULT_CLIENT_FAILOVER_RETRIES_ON_SOCKET_TIMEOUTS
           
static String DEFAULT_CONTAINER_TEMP_DIR
          Container temp directory
static String DEFAULT_FS_BASED_RM_CONF_STORE
           
static String DEFAULT_FS_RM_STATE_STORE_RETRY_POLICY_SPEC
           
static String DEFAULT_IPC_CLIENT_FACTORY_CLASS
           
static String DEFAULT_IPC_RECORD_FACTORY_CLASS
           
static String DEFAULT_IPC_RPC_IMPL
           
static String DEFAULT_IPC_SERVER_FACTORY_CLASS
           
static boolean DEFAULT_LOG_AGGREGATION_ENABLED
           
static long DEFAULT_LOG_AGGREGATION_RETAIN_CHECK_INTERVAL_SECONDS
           
static long DEFAULT_LOG_AGGREGATION_RETAIN_SECONDS
           
static String DEFAULT_NM_ADDRESS
           
static String DEFAULT_NM_ADMIN_USER_ENV
           
static int DEFAULT_NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE
           
static int DEFAULT_NM_CLIENT_MAX_NM_PROXIES
           
static int DEFAULT_NM_CONTAINER_EXECUTOR_SCHED_PRIORITY
           
static int DEFAULT_NM_CONTAINER_MGR_THREAD_COUNT
           
static int DEFAULT_NM_CONTAINER_MON_INTERVAL_MS
           
static int DEFAULT_NM_DELETE_THREAD_COUNT
           
static long DEFAULT_NM_DISK_HEALTH_CHECK_INTERVAL_MS
          By default, disks' health is checked every 2 minutes.
static String DEFAULT_NM_ENV_WHITELIST
           
static long DEFAULT_NM_HEALTH_CHECK_INTERVAL_MS
           
static long DEFAULT_NM_HEALTH_CHECK_SCRIPT_TIMEOUT_MS
           
static long DEFAULT_NM_LINUX_CONTAINER_CGROUPS_DELETE_TIMEOUT
           
static int DEFAULT_NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY
           
static String DEFAULT_NM_LOCAL_DIRS
           
static String DEFAULT_NM_LOCALIZER_ADDRESS
           
static long DEFAULT_NM_LOCALIZER_CACHE_CLEANUP_INTERVAL_MS
           
static long DEFAULT_NM_LOCALIZER_CACHE_TARGET_SIZE_MB
           
static int DEFAULT_NM_LOCALIZER_CLIENT_THREAD_COUNT
           
static int DEFAULT_NM_LOCALIZER_FETCH_THREAD_COUNT
           
static int DEFAULT_NM_LOCALIZER_PORT
           
static String DEFAULT_NM_LOG_AGG_COMPRESSION_TYPE
           
static int DEFAULT_NM_LOG_DELETE_THREAD_COUNT
           
static String DEFAULT_NM_LOG_DIRS
           
static long DEFAULT_NM_LOG_RETAIN_SECONDS
           
static float DEFAULT_NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE
          By default, 100% of the disk can be used before it is marked as offline.
static float DEFAULT_NM_MIN_HEALTHY_DISKS_FRACTION
          By default, at least 25% of disks are to be healthy to say that the node is healthy in terms of disks.
static long DEFAULT_NM_MIN_PER_DISK_FREE_SPACE_MB
          By default, all of the disk can be used before it is marked as offline.
static String DEFAULT_NM_NONSECURE_MODE_LOCAL_USER
           
static String DEFAULT_NM_NONSECURE_MODE_USER_PATTERN
           
static boolean DEFAULT_NM_PMEM_CHECK_ENABLED
           
static int DEFAULT_NM_PMEM_MB
           
static int DEFAULT_NM_PORT
           
static long DEFAULT_NM_PROCESS_KILL_WAIT_MS
           
static String DEFAULT_NM_REMOTE_APP_LOG_DIR
           
static String DEFAULT_NM_REMOTE_APP_LOG_DIR_SUFFIX
           
static String DEFAULT_NM_RESOURCEMANAGER_MINIMUM_VERSION
           
static long DEFAULT_NM_SLEEP_DELAY_BEFORE_SIGKILL_MS
           
static String DEFAULT_NM_USER_HOME_DIR
           
static int DEFAULT_NM_VCORES
           
static boolean DEFAULT_NM_VMEM_CHECK_ENABLED
           
static float DEFAULT_NM_VMEM_PMEM_RATIO
           
static String DEFAULT_NM_WEBAPP_ADDRESS
           
static String DEFAULT_NM_WEBAPP_HTTPS_ADDRESS
           
static int DEFAULT_NM_WEBAPP_HTTPS_PORT
           
static int DEFAULT_NM_WEBAPP_PORT
           
static boolean DEFAULT_PROCFS_USE_SMAPS_BASED_RSS_ENABLED
           
static String DEFAULT_PROXY_ADDRESS
           
static int DEFAULT_PROXY_PORT
           
static String DEFAULT_QUEUE_NAME
          Default queue name
static int DEFAULT_RESOURCEMANAGER_CONNECT_MAX_WAIT_MS
           
static long DEFAULT_RESOURCEMANAGER_CONNECT_RETRY_INTERVAL_MS
           
static String DEFAULT_RM_ADDRESS
           
static String DEFAULT_RM_ADMIN_ADDRESS
           
static int DEFAULT_RM_ADMIN_CLIENT_THREAD_COUNT
           
static int DEFAULT_RM_ADMIN_PORT
           
static int DEFAULT_RM_AM_EXPIRY_INTERVAL_MS
           
static int DEFAULT_RM_AM_MAX_ATTEMPTS
           
static long DEFAULT_RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
           
static int DEFAULT_RM_CLIENT_THREAD_COUNT
           
static String DEFAULT_RM_CONFIGURATION_PROVIDER_CLASS
           
static int DEFAULT_RM_CONTAINER_ALLOC_EXPIRY_INTERVAL_MS
           
static long DEFAULT_RM_CONTAINER_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
           
static long DEFAULT_RM_DELAYED_DELEGATION_TOKEN_REMOVAL_INTERVAL_MS
           
static int DEFAULT_RM_DELEGATION_TOKEN_RENEWER_THREAD_COUNT
           
static boolean DEFAULT_RM_HA_ENABLED
           
static int DEFAULT_RM_HISTORY_WRITER_MULTI_THREADED_DISPATCHER_POOL_SIZE
           
static int DEFAULT_RM_MAX_COMPLETED_APPLICATIONS
           
static String DEFAULT_RM_METRICS_RUNTIME_BUCKETS
          Default sizes of the runtime metric buckets in minutes.
static int DEFAULT_RM_NM_EXPIRY_INTERVAL_MS
           
static long DEFAULT_RM_NM_HEARTBEAT_INTERVAL_MS
           
static long DEFAULT_RM_NMTOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
           
static String DEFAULT_RM_NODEMANAGER_MINIMUM_VERSION
           
static String DEFAULT_RM_NODES_EXCLUDE_FILE_PATH
           
static String DEFAULT_RM_NODES_INCLUDE_FILE_PATH
           
static int DEFAULT_RM_PORT
           
static boolean DEFAULT_RM_RECOVERY_ENABLED
           
static String DEFAULT_RM_RESOURCE_TRACKER_ADDRESS
           
static int DEFAULT_RM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT
           
static int DEFAULT_RM_RESOURCE_TRACKER_PORT
           
static String DEFAULT_RM_SCHEDULER
           
static String DEFAULT_RM_SCHEDULER_ADDRESS
           
static int DEFAULT_RM_SCHEDULER_CLIENT_THREAD_COUNT
           
static boolean DEFAULT_RM_SCHEDULER_ENABLE_MONITORS
           
static int DEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_MB
           
static int DEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES
           
static int DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_MB
           
static int DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_VCORES
           
static int DEFAULT_RM_SCHEDULER_PORT
           
static boolean DEFAULT_RM_SCHEDULER_USE_PORT_FOR_NODE_NAME
           
static int DEFAULT_RM_STATE_STORE_MAX_COMPLETED_APPLICATIONS
           
static String DEFAULT_RM_WEBAPP_ADDRESS
           
static String DEFAULT_RM_WEBAPP_HTTPS_ADDRESS
           
static int DEFAULT_RM_WEBAPP_HTTPS_PORT
           
static int DEFAULT_RM_WEBAPP_PORT
           
static String DEFAULT_RM_ZK_ACL
           
static long DEFAULT_RM_ZK_RETRY_INTERVAL_MS
           
static int DEFAULT_RM_ZK_TIMEOUT_MS
           
static String DEFAULT_TIMELINE_SERVICE_ADDRESS
           
static int DEFAULT_TIMELINE_SERVICE_CLIENT_THREAD_COUNT
           
static boolean DEFAULT_TIMELINE_SERVICE_ENABLED
           
static long DEFAULT_TIMELINE_SERVICE_LEVELDB_READ_CACHE_SIZE
           
static int DEFAULT_TIMELINE_SERVICE_LEVELDB_START_TIME_READ_CACHE_SIZE
           
static int DEFAULT_TIMELINE_SERVICE_LEVELDB_START_TIME_WRITE_CACHE_SIZE
           
static long DEFAULT_TIMELINE_SERVICE_LEVELDB_TTL_INTERVAL_MS
           
static int DEFAULT_TIMELINE_SERVICE_PORT
           
static long DEFAULT_TIMELINE_SERVICE_TTL_MS
           
static String DEFAULT_TIMELINE_SERVICE_WEBAPP_ADDRESS
           
static String DEFAULT_TIMELINE_SERVICE_WEBAPP_HTTPS_ADDRESS
           
static int DEFAULT_TIMELINE_SERVICE_WEBAPP_HTTPS_PORT
           
static int DEFAULT_TIMELINE_SERVICE_WEBAPP_PORT
           
static boolean DEFAULT_YARN_ACL_ENABLE
           
static String DEFAULT_YARN_ADMIN_ACL
           
static String DEFAULT_YARN_APP_ACL
          ACL used in case none is found.
static String[] DEFAULT_YARN_APPLICATION_CLASSPATH
           Default platform-specific CLASSPATH for YARN applications.
static long DEFAULT_YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_INTERVAL_MS
           
static long DEFAULT_YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_TIMEOUT_MS
           
static String[] DEFAULT_YARN_CROSS_PLATFORM_APPLICATION_CLASSPATH
          Default platform-agnostic CLASSPATH for YARN applications.
static boolean DEFAULT_YARN_MINICLUSTER_CONTROL_RESOURCE_MONITORING
           
static boolean DEFAULT_YARN_MINICLUSTER_FIXED_PORTS
          Default is false to be able to run tests concurrently without port conflicts.
static boolean DEFAULT_YARN_MINICLUSTER_USE_RPC
           
static int DEFAULT_ZK_RM_NUM_RETRIES
           
static String DEFAULT_ZK_RM_STATE_STORE_PARENT_PATH
           
static long DELEGATION_KEY_UPDATE_INTERVAL_DEFAULT
           
static String DELEGATION_KEY_UPDATE_INTERVAL_KEY
           
static long DELEGATION_TOKEN_MAX_LIFETIME_DEFAULT
           
static String DELEGATION_TOKEN_MAX_LIFETIME_KEY
           
static long DELEGATION_TOKEN_RENEW_INTERVAL_DEFAULT
           
static String DELEGATION_TOKEN_RENEW_INTERVAL_KEY
           
static String FS_BASED_RM_CONF_STORE
          Store the related configuration files in File System
static String FS_RM_STATE_STORE_RETRY_POLICY_SPEC
           
static String FS_RM_STATE_STORE_URI
          URI for FileSystemRMStateStore
static String IPC_CLIENT_FACTORY_CLASS
          Factory to create client IPC classes.
static String IPC_PREFIX
           
static String IPC_RECORD_FACTORY_CLASS
          Factory to create serializeable records.
static String IPC_RPC_IMPL
          RPC class implementation
static String IPC_SERVER_FACTORY_CLASS
          Factory to create server IPC classes.
static String IS_MINI_YARN_CLUSTER
           
static String LOG_AGGREGATION_ENABLED
          Whether to enable log aggregation
static String LOG_AGGREGATION_RETAIN_CHECK_INTERVAL_SECONDS
          How long to wait between aggregated log retention checks.
static String LOG_AGGREGATION_RETAIN_SECONDS
          How long to wait before deleting aggregated logs, -1 disables.
static String NM_ADDRESS
          address of node manager IPC.
static String NM_ADMIN_USER_ENV
          Environment variables that will be sent to containers.
static String NM_AUX_SERVICE_FMT
           
static String NM_AUX_SERVICES
           
static String NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE
          Max number of threads in NMClientAsync to process container management events
static String NM_CLIENT_MAX_NM_PROXIES
          Maximum number of proxy connections for node manager.
static String NM_CONTAINER_EXECUTOR
          who will execute(launch) the containers.
static String NM_CONTAINER_EXECUTOR_SCHED_PRIORITY
          Adjustment to make to the container os scheduling priority.
static String NM_CONTAINER_MGR_THREAD_COUNT
          Number of threads container manager uses.
static String NM_CONTAINER_MON_INTERVAL_MS
          How often to monitor containers.
static String NM_CONTAINER_MON_PROCESS_TREE
          Class that calculates process tree resource utilization.
static String NM_CONTAINER_MON_RESOURCE_CALCULATOR
          Class that calculates containers current resource utilization.
static String NM_DELETE_THREAD_COUNT
          Number of threads used in cleanup.
static String NM_DISK_HEALTH_CHECK_ENABLE
          Enable/Disable disks' health checker.
static String NM_DISK_HEALTH_CHECK_INTERVAL_MS
          Frequency of running disks' health checker.
static String NM_ENV_WHITELIST
          Environment variables that containers may override rather than use NodeManager's default.
static String NM_HEALTH_CHECK_INTERVAL_MS
          Frequency of running node health script.
static String NM_HEALTH_CHECK_SCRIPT_OPTS
          The arguments to pass to the health check script.
static String NM_HEALTH_CHECK_SCRIPT_PATH
          The health check script to run.
static String NM_HEALTH_CHECK_SCRIPT_TIMEOUT_MS
          Health check script time out period.
static String NM_KEYTAB
          Keytab for NM.
static String NM_LINUX_CONTAINER_CGROUPS_DELETE_TIMEOUT
          Interval of time the linux container executor should try cleaning up cgroups entry when cleaning up a container.
static String NM_LINUX_CONTAINER_CGROUPS_HIERARCHY
          The path the linux container executor should use for cgroups
static String NM_LINUX_CONTAINER_CGROUPS_MOUNT
          Whether the linux container executor should mount cgroups if not found
static String NM_LINUX_CONTAINER_CGROUPS_MOUNT_PATH
          Where the linux container executor should mount cgroups if not found
static String NM_LINUX_CONTAINER_EXECUTOR_PATH
          The path to the Linux container executor.
static String NM_LINUX_CONTAINER_GROUP
          The UNIX group that the linux-container-executor should run as.
static String NM_LINUX_CONTAINER_RESOURCES_HANDLER
          The type of resource enforcement to use with the linux container executor.
static String NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY
          Number of files in each localized directories Avoid tuning this too low.
static String NM_LOCAL_DIRS
          List of directories to store localized files in.
static String NM_LOCALIZER_ADDRESS
          Address where the localizer IPC is.
static String NM_LOCALIZER_CACHE_CLEANUP_INTERVAL_MS
          Interval in between cache cleanups.
static String NM_LOCALIZER_CACHE_TARGET_SIZE_MB
          Target size of localizer cache in MB, per local directory.
static String NM_LOCALIZER_CLIENT_THREAD_COUNT
          Number of threads to handle localization requests.
static String NM_LOCALIZER_FETCH_THREAD_COUNT
          Number of threads to use for localization fetching.
static String NM_LOG_AGG_COMPRESSION_TYPE
          T-file compression types used to compress aggregated logs.
static String NM_LOG_DELETION_THREADS_COUNT
          Number of threads used in log cleanup.
static String NM_LOG_DIRS
          Where to store container logs.
static String NM_LOG_RETAIN_SECONDS
          Number of seconds to retain logs on the NodeManager.
static String NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE
          The maximum percentage of disk space that can be used after which a disk is marked as offline.
static String NM_MIN_HEALTHY_DISKS_FRACTION
          The minimum fraction of number of disks to be healthy for the nodemanager to launch new containers.
static String NM_MIN_PER_DISK_FREE_SPACE_MB
          The minimum space that must be available on a local dir for it to be used.
static String NM_NONSECURE_MODE_LOCAL_USER_KEY
          The UNIX user that containers will run as when Linux-container-executor is used in nonsecure mode (a use case for this is using cgroups).
static String NM_NONSECURE_MODE_USER_PATTERN_KEY
          The allowed pattern for UNIX user names enforced by Linux-container-executor when used in nonsecure mode (use case for this is using cgroups).
static String NM_PMEM_CHECK_ENABLED
          Specifies whether physical memory check is enabled.
static String NM_PMEM_MB
          Amount of memory in GB that can be allocated for containers.
static String NM_PREFIX
          Prefix for all node manager configs.
static String NM_PRINCIPAL
          The kerberos principal for the node manager.
static String NM_PROCESS_KILL_WAIT_MS
          Max time to wait for a process to come up when trying to cleanup container resources
static String NM_REMOTE_APP_LOG_DIR
          Where to aggregate logs to.
static String NM_REMOTE_APP_LOG_DIR_SUFFIX
          The remote log dir will be created at NM_REMOTE_APP_LOG_DIR/${user}/NM_REMOTE_APP_LOG_DIR_SUFFIX/${appId}
static String NM_RESOURCEMANAGER_MINIMUM_VERSION
           
static String NM_SLEEP_DELAY_BEFORE_SIGKILL_MS
          No.
static String NM_USER_HOME_DIR
           
static String NM_VCORES
          Number of Virtual CPU Cores which can be allocated for containers.
static String NM_VMEM_CHECK_ENABLED
          Specifies whether physical memory check is enabled.
static String NM_VMEM_PMEM_RATIO
          Conversion ratio for physical memory to virtual memory.
static String NM_WEBAPP_ADDRESS
          NM Webapp address.
static String NM_WEBAPP_HTTPS_ADDRESS
          NM Webapp https address.
static String NM_WEBAPP_SPNEGO_KEYTAB_FILE_KEY
          The kerberos keytab to be used for spnego filter for NM.
static String NM_WEBAPP_SPNEGO_USER_NAME_KEY
          The kerberos principal to be used for spnego filter for NM.
static String PROCFS_USE_SMAPS_BASED_RSS_ENABLED
           
static String PROXY_ADDRESS
          The address for the web proxy.
static String PROXY_KEYTAB
          Keytab for Proxy.
static String PROXY_PREFIX
           
static String PROXY_PRINCIPAL
          The kerberos principal for the proxy.
static String RECOVERY_ENABLED
           
static String RESOURCEMANAGER_CONNECT_MAX_WAIT_MS
          Max time to wait to establish a connection to RM
static String RESOURCEMANAGER_CONNECT_RETRY_INTERVAL_MS
          Time interval between each attempt to connect to RM
static String RM_ADDRESS
          The address of the applications manager interface in the RM.
static String RM_ADMIN_ADDRESS
          The address of the RM admin interface.
static String RM_ADMIN_CLIENT_THREAD_COUNT
          Number of threads used to handle RM admin interface.
static String RM_AM_EXPIRY_INTERVAL_MS
          The expiry interval for application master reporting.
static String RM_AM_MAX_ATTEMPTS
          The maximum number of application attempts.
static String RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
           
static String RM_CLIENT_THREAD_COUNT
          The number of threads used to handle applications manager requests.
static String RM_CLUSTER_ID
           
static String RM_CONFIGURATION_PROVIDER_CLASS
           
static String RM_CONTAINER_ALLOC_EXPIRY_INTERVAL_MS
          How long to wait until a container is considered dead.
static String RM_CONTAINER_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
           
static String RM_DELAYED_DELEGATION_TOKEN_REMOVAL_INTERVAL_MS
          Interval at which the delayed token removal thread runs
static String RM_DELEGATION_TOKEN_RENEWER_THREAD_COUNT
          Delegation Token renewer thread count
static String RM_HA_ENABLED
           
static String RM_HA_ID
           
static String RM_HA_IDS
           
static String RM_HA_PREFIX
          HA related configs
static String RM_HISTORY_WRITER_MULTI_THREADED_DISPATCHER_POOL_SIZE
          Number of worker threads that write the history data.
static String RM_HOSTNAME
           
static String RM_KEYTAB
          The keytab for the resource manager.
static String RM_MAX_COMPLETED_APPLICATIONS
          The maximum number of completed applications RM keeps.
static String RM_METRICS_RUNTIME_BUCKETS
          Buckets (in minutes) for the number of apps running in each queue.
static String RM_NM_EXPIRY_INTERVAL_MS
          How long to wait until a node manager is considered dead.
static String RM_NM_HEARTBEAT_INTERVAL_MS
          RM set next Heartbeat interval for NM
static String RM_NMTOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
           
static String RM_NODEMANAGER_MINIMUM_VERSION
           
static String RM_NODES_EXCLUDE_FILE_PATH
          Path to file with nodes to exclude.
static String RM_NODES_INCLUDE_FILE_PATH
          Path to file with nodes to include.
static String RM_PREFIX
           
static String RM_PRINCIPAL
          The Kerberos principal for the resource manager.
static String RM_RESOURCE_TRACKER_ADDRESS
           
static String RM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT
          Number of threads to handle resource tracker calls.
static String RM_SCHEDULER
          The class to use as the resource scheduler.
static String RM_SCHEDULER_ADDRESS
          The address of the scheduler interface.
static String RM_SCHEDULER_CLIENT_THREAD_COUNT
          Number of threads to handle scheduler interface.
static String RM_SCHEDULER_ENABLE_MONITORS
          Enable periodic monitor threads.
static String RM_SCHEDULER_INCLUDE_PORT_IN_NODE_NAME
          If the port should be included or not in the node name.
static String RM_SCHEDULER_MAXIMUM_ALLOCATION_MB
          Maximum request grant-able by the RM scheduler.
static String RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES
           
static String RM_SCHEDULER_MINIMUM_ALLOCATION_MB
          Miniumum request grant-able by the RM scheduler.
static String RM_SCHEDULER_MINIMUM_ALLOCATION_VCORES
           
static String RM_SCHEDULER_MONITOR_POLICIES
          List of SchedulingEditPolicy classes affecting the scheduler.
static String RM_STATE_STORE_MAX_COMPLETED_APPLICATIONS
          The maximum number of completed applications RM state store keeps, by default equals to DEFAULT_RM_MAX_COMPLETED_APPLICATIONS
static String RM_STORE
          The class to use as the persistent store.
static String RM_WEBAPP_ADDRESS
          The address of the RM web application.
static String RM_WEBAPP_HTTPS_ADDRESS
          The https address of the RM web application.
static String RM_WEBAPP_SPNEGO_KEYTAB_FILE_KEY
          The kerberos keytab to be used for spnego filter for RM.
static String RM_WEBAPP_SPNEGO_USER_NAME_KEY
          The kerberos principal to be used for spnego filter for RM.
static String RM_ZK_ACL
           
static String RM_ZK_ADDRESS
           
static String RM_ZK_AUTH
           
static String RM_ZK_NUM_RETRIES
           
static String RM_ZK_PREFIX
          Zookeeper interaction configs
static String RM_ZK_RETRY_INTERVAL_MS
           
static String RM_ZK_TIMEOUT_MS
           
static String TIMELINE_SERVICE_ADDRESS
          host:port address for timeline service RPC APIs.
static String TIMELINE_SERVICE_ENABLED
          The setting that controls whether timeline service is enabled or not.
static String TIMELINE_SERVICE_HANDLER_THREAD_COUNT
          The number of threads to handle client RPC API requests.
static String TIMELINE_SERVICE_LEVELDB_PATH
          Timeline service leveldb path
static String TIMELINE_SERVICE_LEVELDB_PREFIX
           
static String TIMELINE_SERVICE_LEVELDB_READ_CACHE_SIZE
          Timeline service leveldb read cache (uncompressed blocks)
static String TIMELINE_SERVICE_LEVELDB_START_TIME_READ_CACHE_SIZE
          Timeline service leveldb start time read cache (number of entities)
static String TIMELINE_SERVICE_LEVELDB_START_TIME_WRITE_CACHE_SIZE
          Timeline service leveldb start time write cache (number of entities)
static String TIMELINE_SERVICE_LEVELDB_TTL_INTERVAL_MS
          Timeline service leveldb interval to wait between deletion rounds
static String TIMELINE_SERVICE_PREFIX
           
static String TIMELINE_SERVICE_STORE
          Timeline service store class
static String TIMELINE_SERVICE_TTL_ENABLE
          Timeline service enable data age off
static String TIMELINE_SERVICE_TTL_MS
          Timeline service length of time to retain data
static String TIMELINE_SERVICE_WEBAPP_ADDRESS
          The address of the timeline service web application.
static String TIMELINE_SERVICE_WEBAPP_HTTPS_ADDRESS
          The https address of the timeline service web application.
static String TIMELINE_SERVICE_WEBAPP_SPNEGO_KEYTAB_FILE_KEY
          The kerberos keytab to be used for spnego filter for timeline service.
static String TIMELINE_SERVICE_WEBAPP_SPNEGO_USER_NAME_KEY
          The kerberos principal to be used for spnego filter for timeline service.
static String YARN_ACL_ENABLE
          Are acls enabled.
static String YARN_ADMIN_ACL
          ACL of who can be admin of YARN cluster.
static String YARN_APP_CONTAINER_LOG_BACKUPS
           
static String YARN_APP_CONTAINER_LOG_DIR
          The log directory for the containers
static String YARN_APP_CONTAINER_LOG_SIZE
           
static String YARN_APPLICATION_CLASSPATH
          CLASSPATH for YARN applications.
static String YARN_CLIENT_APP_SUBMISSION_POLL_INTERVAL_MS
          Deprecated. 
static String YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_INTERVAL_MS
          The interval that the yarn client library uses to poll the completion status of the asynchronous API of application client protocol.
static String YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_TIMEOUT_MS
          The duration that the yarn client library waits, cumulatively across polls, for an expected state change to occur.
static String YARN_HTTP_POLICY_DEFAULT
           
static String YARN_HTTP_POLICY_KEY
           
static String YARN_LOG_SERVER_URL
           
static String YARN_MC_PREFIX
           
static String YARN_MINICLUSTER_CONTROL_RESOURCE_MONITORING
          Whether users are explicitly trying to control resource monitoring configuration for the MiniYARNCluster.
static String YARN_MINICLUSTER_FIXED_PORTS
          Whether to use fixed ports with the minicluster.
static String YARN_MINICLUSTER_USE_RPC
          Whether the NM should use RPC to connect to the RM.
static String YARN_PREFIX
           
static String YARN_SECURITY_SERVICE_AUTHORIZATION_APPLICATIONCLIENT_PROTOCOL
           
static String YARN_SECURITY_SERVICE_AUTHORIZATION_APPLICATIONMASTER_PROTOCOL
           
static String YARN_SECURITY_SERVICE_AUTHORIZATION_CONTAINER_MANAGEMENT_PROTOCOL
           
static String YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCE_LOCALIZER
           
static String YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCEMANAGER_ADMINISTRATION_PROTOCOL
           
static String YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCETRACKER_PROTOCOL
          YARN Service Level Authorization
static boolean YARN_SSL_CLIENT_HTTPS_NEED_AUTH_DEFAULT
           
static String YARN_SSL_SERVER_RESOURCE_DEFAULT
           
static String YARN_TRACKING_URL_GENERATOR
           
static String ZK_RM_STATE_STORE_PARENT_PATH
          Parent znode path under which ZKRMStateStore will create znodes
static String ZK_RM_STATE_STORE_ROOT_NODE_ACL
          Root node ACLs for fencing
static String ZK_STATE_STORE_PREFIX
           
 
Constructor Summary
YarnConfiguration()
           
YarnConfiguration(Configuration conf)
           
 
Method Summary
 InetSocketAddress getSocketAddr(String name, String defaultAddress, int defaultPort)
          Get the socket address for name property as a InetSocketAddress.
 InetSocketAddress updateConnectAddr(String name, InetSocketAddress addr)
          Set the socket address a client can use to connect for the name property as a host:port.
static boolean useHttps(Configuration conf)
           
 
Methods inherited from class org.apache.hadoop.conf.Configuration
addDefaultResource, addDeprecation, addDeprecation, addDeprecation, addDeprecation, addDeprecations, addResource, addResource, addResource, addResource, addResource, addResource, clear, dumpConfiguration, dumpDeprecatedKeys, get, get, getBoolean, getClass, getClass, getClassByName, getClassByNameOrNull, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getDouble, getEnum, getFile, getFinalParameters, getFloat, getInstances, getInt, getInts, getLocalPath, getLong, getLongBytes, getPattern, getPropertySources, getProps, getRange, getRaw, getResource, getStringCollection, getStrings, getStrings, getTimeDuration, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, hasWarnedDeprecation, isDeprecated, iterator, main, readFields, reloadConfiguration, set, set, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setDouble, setEnum, setFloat, setIfUnset, setInt, setLong, setPattern, setQuietMode, setSocketAddr, setStrings, setTimeDuration, size, toString, unset, write, writeXml, writeXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

APPLICATION_MAX_TAGS

@InterfaceStability.Evolving
public static final int APPLICATION_MAX_TAGS
See Also:
Constant Field Values

APPLICATION_MAX_TAG_LENGTH

@InterfaceStability.Evolving
public static final int APPLICATION_MAX_TAG_LENGTH
See Also:
Constant Field Values

YARN_PREFIX

public static final String YARN_PREFIX
See Also:
Constant Field Values

DEBUG_NM_DELETE_DELAY_SEC

public static final String DEBUG_NM_DELETE_DELAY_SEC
Delay before deleting resource to ease debugging of NM issues

See Also:
Constant Field Values

IPC_PREFIX

public static final String IPC_PREFIX
See Also:
Constant Field Values

IPC_CLIENT_FACTORY_CLASS

public static final String IPC_CLIENT_FACTORY_CLASS
Factory to create client IPC classes.

See Also:
Constant Field Values

DEFAULT_IPC_CLIENT_FACTORY_CLASS

public static final String DEFAULT_IPC_CLIENT_FACTORY_CLASS
See Also:
Constant Field Values

IPC_SERVER_FACTORY_CLASS

public static final String IPC_SERVER_FACTORY_CLASS
Factory to create server IPC classes.

See Also:
Constant Field Values

DEFAULT_IPC_SERVER_FACTORY_CLASS

public static final String DEFAULT_IPC_SERVER_FACTORY_CLASS
See Also:
Constant Field Values

IPC_RECORD_FACTORY_CLASS

public static final String IPC_RECORD_FACTORY_CLASS
Factory to create serializeable records.

See Also:
Constant Field Values

DEFAULT_IPC_RECORD_FACTORY_CLASS

public static final String DEFAULT_IPC_RECORD_FACTORY_CLASS
See Also:
Constant Field Values

IPC_RPC_IMPL

public static final String IPC_RPC_IMPL
RPC class implementation

See Also:
Constant Field Values

DEFAULT_IPC_RPC_IMPL

public static final String DEFAULT_IPC_RPC_IMPL
See Also:
Constant Field Values

RM_PREFIX

public static final String RM_PREFIX
See Also:
Constant Field Values

RM_CLUSTER_ID

public static final String RM_CLUSTER_ID
See Also:
Constant Field Values

RM_HOSTNAME

public static final String RM_HOSTNAME
See Also:
Constant Field Values

RM_ADDRESS

public static final String RM_ADDRESS
The address of the applications manager interface in the RM.

See Also:
Constant Field Values

DEFAULT_RM_PORT

public static final int DEFAULT_RM_PORT
See Also:
Constant Field Values

DEFAULT_RM_ADDRESS

public static final String DEFAULT_RM_ADDRESS
See Also:
Constant Field Values

RM_CLIENT_THREAD_COUNT

public static final String RM_CLIENT_THREAD_COUNT
The number of threads used to handle applications manager requests.

See Also:
Constant Field Values

DEFAULT_RM_CLIENT_THREAD_COUNT

public static final int DEFAULT_RM_CLIENT_THREAD_COUNT
See Also:
Constant Field Values

RM_PRINCIPAL

public static final String RM_PRINCIPAL
The Kerberos principal for the resource manager.

See Also:
Constant Field Values

RM_SCHEDULER_ADDRESS

public static final String RM_SCHEDULER_ADDRESS
The address of the scheduler interface.

See Also:
Constant Field Values

DEFAULT_RM_SCHEDULER_PORT

public static final int DEFAULT_RM_SCHEDULER_PORT
See Also:
Constant Field Values

DEFAULT_RM_SCHEDULER_ADDRESS

public static final String DEFAULT_RM_SCHEDULER_ADDRESS
See Also:
Constant Field Values

RM_SCHEDULER_MINIMUM_ALLOCATION_MB

public static final String RM_SCHEDULER_MINIMUM_ALLOCATION_MB
Miniumum request grant-able by the RM scheduler.

See Also:
Constant Field Values

DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_MB

public static final int DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_MB
See Also:
Constant Field Values

RM_SCHEDULER_MINIMUM_ALLOCATION_VCORES

public static final String RM_SCHEDULER_MINIMUM_ALLOCATION_VCORES
See Also:
Constant Field Values

DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_VCORES

public static final int DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_VCORES
See Also:
Constant Field Values

RM_SCHEDULER_MAXIMUM_ALLOCATION_MB

public static final String RM_SCHEDULER_MAXIMUM_ALLOCATION_MB
Maximum request grant-able by the RM scheduler.

See Also:
Constant Field Values

DEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_MB

public static final int DEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_MB
See Also:
Constant Field Values

RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES

public static final String RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES
See Also:
Constant Field Values

DEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES

public static final int DEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES
See Also:
Constant Field Values

RM_SCHEDULER_CLIENT_THREAD_COUNT

public static final String RM_SCHEDULER_CLIENT_THREAD_COUNT
Number of threads to handle scheduler interface.

See Also:
Constant Field Values

DEFAULT_RM_SCHEDULER_CLIENT_THREAD_COUNT

public static final int DEFAULT_RM_SCHEDULER_CLIENT_THREAD_COUNT
See Also:
Constant Field Values

RM_SCHEDULER_INCLUDE_PORT_IN_NODE_NAME

public static final String RM_SCHEDULER_INCLUDE_PORT_IN_NODE_NAME
If the port should be included or not in the node name. The node name is used by the scheduler for resource requests allocation location matching. Typically this is just the hostname, using the port is needed when using minicluster and specific NM are required.

See Also:
Constant Field Values

DEFAULT_RM_SCHEDULER_USE_PORT_FOR_NODE_NAME

public static final boolean DEFAULT_RM_SCHEDULER_USE_PORT_FOR_NODE_NAME
See Also:
Constant Field Values

RM_SCHEDULER_ENABLE_MONITORS

public static final String RM_SCHEDULER_ENABLE_MONITORS
Enable periodic monitor threads.

See Also:
RM_SCHEDULER_MONITOR_POLICIES, Constant Field Values

DEFAULT_RM_SCHEDULER_ENABLE_MONITORS

public static final boolean DEFAULT_RM_SCHEDULER_ENABLE_MONITORS
See Also:
Constant Field Values

RM_SCHEDULER_MONITOR_POLICIES

public static final String RM_SCHEDULER_MONITOR_POLICIES
List of SchedulingEditPolicy classes affecting the scheduler.

See Also:
Constant Field Values

RM_WEBAPP_ADDRESS

public static final String RM_WEBAPP_ADDRESS
The address of the RM web application.

See Also:
Constant Field Values

DEFAULT_RM_WEBAPP_PORT

public static final int DEFAULT_RM_WEBAPP_PORT
See Also:
Constant Field Values

DEFAULT_RM_WEBAPP_ADDRESS

public static final String DEFAULT_RM_WEBAPP_ADDRESS
See Also:
Constant Field Values

RM_WEBAPP_HTTPS_ADDRESS

public static final String RM_WEBAPP_HTTPS_ADDRESS
The https address of the RM web application.

See Also:
Constant Field Values

YARN_SSL_CLIENT_HTTPS_NEED_AUTH_DEFAULT

public static final boolean YARN_SSL_CLIENT_HTTPS_NEED_AUTH_DEFAULT
See Also:
Constant Field Values

YARN_SSL_SERVER_RESOURCE_DEFAULT

public static final String YARN_SSL_SERVER_RESOURCE_DEFAULT
See Also:
Constant Field Values

DEFAULT_RM_WEBAPP_HTTPS_PORT

public static final int DEFAULT_RM_WEBAPP_HTTPS_PORT
See Also:
Constant Field Values

DEFAULT_RM_WEBAPP_HTTPS_ADDRESS

public static final String DEFAULT_RM_WEBAPP_HTTPS_ADDRESS
See Also:
Constant Field Values

RM_RESOURCE_TRACKER_ADDRESS

public static final String RM_RESOURCE_TRACKER_ADDRESS
See Also:
Constant Field Values

DEFAULT_RM_RESOURCE_TRACKER_PORT

public static final int DEFAULT_RM_RESOURCE_TRACKER_PORT
See Also:
Constant Field Values

DEFAULT_RM_RESOURCE_TRACKER_ADDRESS

public static final String DEFAULT_RM_RESOURCE_TRACKER_ADDRESS
See Also:
Constant Field Values

RM_AM_EXPIRY_INTERVAL_MS

public static final String RM_AM_EXPIRY_INTERVAL_MS
The expiry interval for application master reporting.

See Also:
Constant Field Values

DEFAULT_RM_AM_EXPIRY_INTERVAL_MS

public static final int DEFAULT_RM_AM_EXPIRY_INTERVAL_MS
See Also:
Constant Field Values

RM_NM_EXPIRY_INTERVAL_MS

public static final String RM_NM_EXPIRY_INTERVAL_MS
How long to wait until a node manager is considered dead.

See Also:
Constant Field Values

DEFAULT_RM_NM_EXPIRY_INTERVAL_MS

public static final int DEFAULT_RM_NM_EXPIRY_INTERVAL_MS
See Also:
Constant Field Values

YARN_ACL_ENABLE

public static final String YARN_ACL_ENABLE
Are acls enabled.

See Also:
Constant Field Values

DEFAULT_YARN_ACL_ENABLE

public static final boolean DEFAULT_YARN_ACL_ENABLE
See Also:
Constant Field Values

YARN_ADMIN_ACL

public static final String YARN_ADMIN_ACL
ACL of who can be admin of YARN cluster.

See Also:
Constant Field Values

DEFAULT_YARN_ADMIN_ACL

public static final String DEFAULT_YARN_ADMIN_ACL
See Also:
Constant Field Values

DEFAULT_YARN_APP_ACL

public static final String DEFAULT_YARN_APP_ACL
ACL used in case none is found. Allows nothing.

See Also:
Constant Field Values

RM_ADMIN_ADDRESS

public static final String RM_ADMIN_ADDRESS
The address of the RM admin interface.

See Also:
Constant Field Values

DEFAULT_RM_ADMIN_PORT

public static final int DEFAULT_RM_ADMIN_PORT
See Also:
Constant Field Values

DEFAULT_RM_ADMIN_ADDRESS

public static final String DEFAULT_RM_ADMIN_ADDRESS
See Also:
Constant Field Values

RM_ADMIN_CLIENT_THREAD_COUNT

public static final String RM_ADMIN_CLIENT_THREAD_COUNT
Number of threads used to handle RM admin interface.

See Also:
Constant Field Values

DEFAULT_RM_ADMIN_CLIENT_THREAD_COUNT

public static final int DEFAULT_RM_ADMIN_CLIENT_THREAD_COUNT
See Also:
Constant Field Values

RM_AM_MAX_ATTEMPTS

public static final String RM_AM_MAX_ATTEMPTS
The maximum number of application attempts. It's a global setting for all application masters.

See Also:
Constant Field Values

DEFAULT_RM_AM_MAX_ATTEMPTS

public static final int DEFAULT_RM_AM_MAX_ATTEMPTS
See Also:
Constant Field Values

RM_KEYTAB

public static final String RM_KEYTAB
The keytab for the resource manager.

See Also:
Constant Field Values

RM_WEBAPP_SPNEGO_USER_NAME_KEY

public static final String RM_WEBAPP_SPNEGO_USER_NAME_KEY
The kerberos principal to be used for spnego filter for RM.

See Also:
Constant Field Values

RM_WEBAPP_SPNEGO_KEYTAB_FILE_KEY

public static final String RM_WEBAPP_SPNEGO_KEYTAB_FILE_KEY
The kerberos keytab to be used for spnego filter for RM.

See Also:
Constant Field Values

RM_CONTAINER_ALLOC_EXPIRY_INTERVAL_MS

public static final String RM_CONTAINER_ALLOC_EXPIRY_INTERVAL_MS
How long to wait until a container is considered dead.

See Also:
Constant Field Values

DEFAULT_RM_CONTAINER_ALLOC_EXPIRY_INTERVAL_MS

public static final int DEFAULT_RM_CONTAINER_ALLOC_EXPIRY_INTERVAL_MS
See Also:
Constant Field Values

RM_NODES_INCLUDE_FILE_PATH

public static final String RM_NODES_INCLUDE_FILE_PATH
Path to file with nodes to include.

See Also:
Constant Field Values

DEFAULT_RM_NODES_INCLUDE_FILE_PATH

public static final String DEFAULT_RM_NODES_INCLUDE_FILE_PATH
See Also:
Constant Field Values

RM_NODES_EXCLUDE_FILE_PATH

public static final String RM_NODES_EXCLUDE_FILE_PATH
Path to file with nodes to exclude.

See Also:
Constant Field Values

DEFAULT_RM_NODES_EXCLUDE_FILE_PATH

public static final String DEFAULT_RM_NODES_EXCLUDE_FILE_PATH
See Also:
Constant Field Values

RM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT

public static final String RM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT
Number of threads to handle resource tracker calls.

See Also:
Constant Field Values

DEFAULT_RM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT

public static final int DEFAULT_RM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT
See Also:
Constant Field Values

RM_SCHEDULER

public static final String RM_SCHEDULER
The class to use as the resource scheduler.

See Also:
Constant Field Values

DEFAULT_RM_SCHEDULER

public static final String DEFAULT_RM_SCHEDULER
See Also:
Constant Field Values

RM_NM_HEARTBEAT_INTERVAL_MS

public static final String RM_NM_HEARTBEAT_INTERVAL_MS
RM set next Heartbeat interval for NM

See Also:
Constant Field Values

DEFAULT_RM_NM_HEARTBEAT_INTERVAL_MS

public static final long DEFAULT_RM_NM_HEARTBEAT_INTERVAL_MS
See Also:
Constant Field Values

RM_HISTORY_WRITER_MULTI_THREADED_DISPATCHER_POOL_SIZE

public static final String RM_HISTORY_WRITER_MULTI_THREADED_DISPATCHER_POOL_SIZE
Number of worker threads that write the history data.

See Also:
Constant Field Values

DEFAULT_RM_HISTORY_WRITER_MULTI_THREADED_DISPATCHER_POOL_SIZE

public static final int DEFAULT_RM_HISTORY_WRITER_MULTI_THREADED_DISPATCHER_POOL_SIZE
See Also:
Constant Field Values

DELEGATION_KEY_UPDATE_INTERVAL_KEY

public static final String DELEGATION_KEY_UPDATE_INTERVAL_KEY
See Also:
Constant Field Values

DELEGATION_KEY_UPDATE_INTERVAL_DEFAULT

public static final long DELEGATION_KEY_UPDATE_INTERVAL_DEFAULT
See Also:
Constant Field Values

DELEGATION_TOKEN_RENEW_INTERVAL_KEY

public static final String DELEGATION_TOKEN_RENEW_INTERVAL_KEY
See Also:
Constant Field Values

DELEGATION_TOKEN_RENEW_INTERVAL_DEFAULT

public static final long DELEGATION_TOKEN_RENEW_INTERVAL_DEFAULT
See Also:
Constant Field Values

DELEGATION_TOKEN_MAX_LIFETIME_KEY

public static final String DELEGATION_TOKEN_MAX_LIFETIME_KEY
See Also:
Constant Field Values

DELEGATION_TOKEN_MAX_LIFETIME_DEFAULT

public static final long DELEGATION_TOKEN_MAX_LIFETIME_DEFAULT
See Also:
Constant Field Values

RECOVERY_ENABLED

public static final String RECOVERY_ENABLED
See Also:
Constant Field Values

DEFAULT_RM_RECOVERY_ENABLED

public static final boolean DEFAULT_RM_RECOVERY_ENABLED
See Also:
Constant Field Values

RM_ZK_PREFIX

public static final String RM_ZK_PREFIX
Zookeeper interaction configs

See Also:
Constant Field Values

RM_ZK_ADDRESS

public static final String RM_ZK_ADDRESS
See Also:
Constant Field Values

RM_ZK_NUM_RETRIES

public static final String RM_ZK_NUM_RETRIES
See Also:
Constant Field Values

DEFAULT_ZK_RM_NUM_RETRIES

public static final int DEFAULT_ZK_RM_NUM_RETRIES
See Also:
Constant Field Values

RM_ZK_RETRY_INTERVAL_MS

public static final String RM_ZK_RETRY_INTERVAL_MS
See Also:
Constant Field Values

DEFAULT_RM_ZK_RETRY_INTERVAL_MS

public static final long DEFAULT_RM_ZK_RETRY_INTERVAL_MS
See Also:
Constant Field Values

RM_ZK_TIMEOUT_MS

public static final String RM_ZK_TIMEOUT_MS
See Also:
Constant Field Values

DEFAULT_RM_ZK_TIMEOUT_MS

public static final int DEFAULT_RM_ZK_TIMEOUT_MS
See Also:
Constant Field Values

RM_ZK_ACL

public static final String RM_ZK_ACL
See Also:
Constant Field Values

DEFAULT_RM_ZK_ACL

public static final String DEFAULT_RM_ZK_ACL
See Also:
Constant Field Values

RM_ZK_AUTH

public static final String RM_ZK_AUTH
See Also:
Constant Field Values

ZK_STATE_STORE_PREFIX

public static final String ZK_STATE_STORE_PREFIX
See Also:
Constant Field Values

ZK_RM_STATE_STORE_PARENT_PATH

public static final String ZK_RM_STATE_STORE_PARENT_PATH
Parent znode path under which ZKRMStateStore will create znodes

See Also:
Constant Field Values

DEFAULT_ZK_RM_STATE_STORE_PARENT_PATH

public static final String DEFAULT_ZK_RM_STATE_STORE_PARENT_PATH
See Also:
Constant Field Values

ZK_RM_STATE_STORE_ROOT_NODE_ACL

public static final String ZK_RM_STATE_STORE_ROOT_NODE_ACL
Root node ACLs for fencing

See Also:
Constant Field Values

RM_HA_PREFIX

public static final String RM_HA_PREFIX
HA related configs

See Also:
Constant Field Values

RM_HA_ENABLED

public static final String RM_HA_ENABLED
See Also:
Constant Field Values

DEFAULT_RM_HA_ENABLED

public static final boolean DEFAULT_RM_HA_ENABLED
See Also:
Constant Field Values

RM_HA_IDS

public static final String RM_HA_IDS
See Also:
Constant Field Values

RM_HA_ID

public static final String RM_HA_ID
See Also:
Constant Field Values

FS_BASED_RM_CONF_STORE

public static final String FS_BASED_RM_CONF_STORE
Store the related configuration files in File System

See Also:
Constant Field Values

DEFAULT_FS_BASED_RM_CONF_STORE

public static final String DEFAULT_FS_BASED_RM_CONF_STORE
See Also:
Constant Field Values

RM_CONFIGURATION_PROVIDER_CLASS

public static final String RM_CONFIGURATION_PROVIDER_CLASS
See Also:
Constant Field Values

DEFAULT_RM_CONFIGURATION_PROVIDER_CLASS

public static final String DEFAULT_RM_CONFIGURATION_PROVIDER_CLASS
See Also:
Constant Field Values

AUTO_FAILOVER_PREFIX

public static final String AUTO_FAILOVER_PREFIX
See Also:
Constant Field Values

AUTO_FAILOVER_ENABLED

public static final String AUTO_FAILOVER_ENABLED
See Also:
Constant Field Values

DEFAULT_AUTO_FAILOVER_ENABLED

public static final boolean DEFAULT_AUTO_FAILOVER_ENABLED
See Also:
Constant Field Values

AUTO_FAILOVER_EMBEDDED

public static final String AUTO_FAILOVER_EMBEDDED
See Also:
Constant Field Values

DEFAULT_AUTO_FAILOVER_EMBEDDED

public static final boolean DEFAULT_AUTO_FAILOVER_EMBEDDED
See Also:
Constant Field Values

AUTO_FAILOVER_ZK_BASE_PATH

public static final String AUTO_FAILOVER_ZK_BASE_PATH
See Also:
Constant Field Values

DEFAULT_AUTO_FAILOVER_ZK_BASE_PATH

public static final String DEFAULT_AUTO_FAILOVER_ZK_BASE_PATH
See Also:
Constant Field Values

CLIENT_FAILOVER_PREFIX

public static final String CLIENT_FAILOVER_PREFIX
See Also:
Constant Field Values

CLIENT_FAILOVER_PROXY_PROVIDER

public static final String CLIENT_FAILOVER_PROXY_PROVIDER
See Also:
Constant Field Values

DEFAULT_CLIENT_FAILOVER_PROXY_PROVIDER

public static final String DEFAULT_CLIENT_FAILOVER_PROXY_PROVIDER
See Also:
Constant Field Values

CLIENT_FAILOVER_MAX_ATTEMPTS

public static final String CLIENT_FAILOVER_MAX_ATTEMPTS
See Also:
Constant Field Values

CLIENT_FAILOVER_SLEEPTIME_BASE_MS

public static final String CLIENT_FAILOVER_SLEEPTIME_BASE_MS
See Also:
Constant Field Values

CLIENT_FAILOVER_SLEEPTIME_MAX_MS

public static final String CLIENT_FAILOVER_SLEEPTIME_MAX_MS
See Also:
Constant Field Values

CLIENT_FAILOVER_RETRIES

public static final String CLIENT_FAILOVER_RETRIES
See Also:
Constant Field Values

DEFAULT_CLIENT_FAILOVER_RETRIES

public static final int DEFAULT_CLIENT_FAILOVER_RETRIES
See Also:
Constant Field Values

CLIENT_FAILOVER_RETRIES_ON_SOCKET_TIMEOUTS

public static final String CLIENT_FAILOVER_RETRIES_ON_SOCKET_TIMEOUTS
See Also:
Constant Field Values

DEFAULT_CLIENT_FAILOVER_RETRIES_ON_SOCKET_TIMEOUTS

public static final int DEFAULT_CLIENT_FAILOVER_RETRIES_ON_SOCKET_TIMEOUTS
See Also:
Constant Field Values

RM_STORE

public static final String RM_STORE
The class to use as the persistent store.

See Also:
Constant Field Values

FS_RM_STATE_STORE_URI

public static final String FS_RM_STATE_STORE_URI
URI for FileSystemRMStateStore

See Also:
Constant Field Values

FS_RM_STATE_STORE_RETRY_POLICY_SPEC

public static final String FS_RM_STATE_STORE_RETRY_POLICY_SPEC
See Also:
Constant Field Values

DEFAULT_FS_RM_STATE_STORE_RETRY_POLICY_SPEC

public static final String DEFAULT_FS_RM_STATE_STORE_RETRY_POLICY_SPEC
See Also:
Constant Field Values

RM_MAX_COMPLETED_APPLICATIONS

public static final String RM_MAX_COMPLETED_APPLICATIONS
The maximum number of completed applications RM keeps.

See Also:
Constant Field Values

DEFAULT_RM_MAX_COMPLETED_APPLICATIONS

public static final int DEFAULT_RM_MAX_COMPLETED_APPLICATIONS
See Also:
Constant Field Values

RM_STATE_STORE_MAX_COMPLETED_APPLICATIONS

public static final String RM_STATE_STORE_MAX_COMPLETED_APPLICATIONS
The maximum number of completed applications RM state store keeps, by default equals to DEFAULT_RM_MAX_COMPLETED_APPLICATIONS

See Also:
Constant Field Values

DEFAULT_RM_STATE_STORE_MAX_COMPLETED_APPLICATIONS

public static final int DEFAULT_RM_STATE_STORE_MAX_COMPLETED_APPLICATIONS
See Also:
Constant Field Values

DEFAULT_APPLICATION_NAME

public static final String DEFAULT_APPLICATION_NAME
Default application name

See Also:
Constant Field Values

DEFAULT_APPLICATION_TYPE

public static final String DEFAULT_APPLICATION_TYPE
Default application type

See Also:
Constant Field Values

APPLICATION_TYPE_LENGTH

public static final int APPLICATION_TYPE_LENGTH
Default application type length

See Also:
Constant Field Values

DEFAULT_QUEUE_NAME

public static final String DEFAULT_QUEUE_NAME
Default queue name

See Also:
Constant Field Values

RM_METRICS_RUNTIME_BUCKETS

public static final String RM_METRICS_RUNTIME_BUCKETS
Buckets (in minutes) for the number of apps running in each queue.

See Also:
Constant Field Values

DEFAULT_RM_METRICS_RUNTIME_BUCKETS

public static final String DEFAULT_RM_METRICS_RUNTIME_BUCKETS
Default sizes of the runtime metric buckets in minutes.

See Also:
Constant Field Values

RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS

public static final String RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
See Also:
Constant Field Values

DEFAULT_RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS

public static final long DEFAULT_RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
See Also:
Constant Field Values

RM_CONTAINER_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS

public static final String RM_CONTAINER_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
See Also:
Constant Field Values

DEFAULT_RM_CONTAINER_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS

public static final long DEFAULT_RM_CONTAINER_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
See Also:
Constant Field Values

RM_NMTOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS

public static final String RM_NMTOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
See Also:
Constant Field Values

DEFAULT_RM_NMTOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS

public static final long DEFAULT_RM_NMTOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
See Also:
Constant Field Values

RM_NODEMANAGER_MINIMUM_VERSION

public static final String RM_NODEMANAGER_MINIMUM_VERSION
See Also:
Constant Field Values

DEFAULT_RM_NODEMANAGER_MINIMUM_VERSION

public static final String DEFAULT_RM_NODEMANAGER_MINIMUM_VERSION
See Also:
Constant Field Values

NM_PREFIX

public static final String NM_PREFIX
Prefix for all node manager configs.

See Also:
Constant Field Values

NM_ADMIN_USER_ENV

public static final String NM_ADMIN_USER_ENV
Environment variables that will be sent to containers.

See Also:
Constant Field Values

DEFAULT_NM_ADMIN_USER_ENV

public static final String DEFAULT_NM_ADMIN_USER_ENV
See Also:
Constant Field Values

NM_ENV_WHITELIST

public static final String NM_ENV_WHITELIST
Environment variables that containers may override rather than use NodeManager's default.

See Also:
Constant Field Values

DEFAULT_NM_ENV_WHITELIST

public static final String DEFAULT_NM_ENV_WHITELIST

NM_ADDRESS

public static final String NM_ADDRESS
address of node manager IPC.

See Also:
Constant Field Values

DEFAULT_NM_PORT

public static final int DEFAULT_NM_PORT
See Also:
Constant Field Values

DEFAULT_NM_ADDRESS

public static final String DEFAULT_NM_ADDRESS
See Also:
Constant Field Values

NM_CONTAINER_EXECUTOR

public static final String NM_CONTAINER_EXECUTOR
who will execute(launch) the containers.

See Also:
Constant Field Values

NM_CONTAINER_EXECUTOR_SCHED_PRIORITY

public static final String NM_CONTAINER_EXECUTOR_SCHED_PRIORITY
Adjustment to make to the container os scheduling priority. The valid values for this could vary depending on the platform. On Linux, higher values mean run the containers at a less favorable priority than the NM. The value specified is an int.

See Also:
Constant Field Values

DEFAULT_NM_CONTAINER_EXECUTOR_SCHED_PRIORITY

public static final int DEFAULT_NM_CONTAINER_EXECUTOR_SCHED_PRIORITY
See Also:
Constant Field Values

NM_CONTAINER_MGR_THREAD_COUNT

public static final String NM_CONTAINER_MGR_THREAD_COUNT
Number of threads container manager uses.

See Also:
Constant Field Values

DEFAULT_NM_CONTAINER_MGR_THREAD_COUNT

public static final int DEFAULT_NM_CONTAINER_MGR_THREAD_COUNT
See Also:
Constant Field Values

NM_DELETE_THREAD_COUNT

public static final String NM_DELETE_THREAD_COUNT
Number of threads used in cleanup.

See Also:
Constant Field Values

DEFAULT_NM_DELETE_THREAD_COUNT

public static final int DEFAULT_NM_DELETE_THREAD_COUNT
See Also:
Constant Field Values

NM_KEYTAB

public static final String NM_KEYTAB
Keytab for NM.

See Also:
Constant Field Values

NM_LOCAL_DIRS

public static final String NM_LOCAL_DIRS
List of directories to store localized files in.

See Also:
Constant Field Values

DEFAULT_NM_LOCAL_DIRS

public static final String DEFAULT_NM_LOCAL_DIRS
See Also:
Constant Field Values

NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY

public static final String NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY
Number of files in each localized directories Avoid tuning this too low.

See Also:
Constant Field Values

DEFAULT_NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY

public static final int DEFAULT_NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY
See Also:
Constant Field Values

NM_LOCALIZER_ADDRESS

public static final String NM_LOCALIZER_ADDRESS
Address where the localizer IPC is.

See Also:
Constant Field Values

DEFAULT_NM_LOCALIZER_PORT

public static final int DEFAULT_NM_LOCALIZER_PORT
See Also:
Constant Field Values

DEFAULT_NM_LOCALIZER_ADDRESS

public static final String DEFAULT_NM_LOCALIZER_ADDRESS
See Also:
Constant Field Values

NM_LOCALIZER_CACHE_CLEANUP_INTERVAL_MS

public static final String NM_LOCALIZER_CACHE_CLEANUP_INTERVAL_MS
Interval in between cache cleanups.

See Also:
Constant Field Values

DEFAULT_NM_LOCALIZER_CACHE_CLEANUP_INTERVAL_MS

public static final long DEFAULT_NM_LOCALIZER_CACHE_CLEANUP_INTERVAL_MS
See Also:
Constant Field Values

NM_LOCALIZER_CACHE_TARGET_SIZE_MB

public static final String NM_LOCALIZER_CACHE_TARGET_SIZE_MB
Target size of localizer cache in MB, per local directory.

See Also:
Constant Field Values

DEFAULT_NM_LOCALIZER_CACHE_TARGET_SIZE_MB

public static final long DEFAULT_NM_LOCALIZER_CACHE_TARGET_SIZE_MB
See Also:
Constant Field Values

NM_LOCALIZER_CLIENT_THREAD_COUNT

public static final String NM_LOCALIZER_CLIENT_THREAD_COUNT
Number of threads to handle localization requests.

See Also:
Constant Field Values

DEFAULT_NM_LOCALIZER_CLIENT_THREAD_COUNT

public static final int DEFAULT_NM_LOCALIZER_CLIENT_THREAD_COUNT
See Also:
Constant Field Values

NM_LOCALIZER_FETCH_THREAD_COUNT

public static final String NM_LOCALIZER_FETCH_THREAD_COUNT
Number of threads to use for localization fetching.

See Also:
Constant Field Values

DEFAULT_NM_LOCALIZER_FETCH_THREAD_COUNT

public static final int DEFAULT_NM_LOCALIZER_FETCH_THREAD_COUNT
See Also:
Constant Field Values

NM_LOG_DIRS

public static final String NM_LOG_DIRS
Where to store container logs.

See Also:
Constant Field Values

DEFAULT_NM_LOG_DIRS

public static final String DEFAULT_NM_LOG_DIRS
See Also:
Constant Field Values

NM_RESOURCEMANAGER_MINIMUM_VERSION

public static final String NM_RESOURCEMANAGER_MINIMUM_VERSION
See Also:
Constant Field Values

DEFAULT_NM_RESOURCEMANAGER_MINIMUM_VERSION

public static final String DEFAULT_NM_RESOURCEMANAGER_MINIMUM_VERSION
See Also:
Constant Field Values

RM_DELAYED_DELEGATION_TOKEN_REMOVAL_INTERVAL_MS

public static final String RM_DELAYED_DELEGATION_TOKEN_REMOVAL_INTERVAL_MS
Interval at which the delayed token removal thread runs

See Also:
Constant Field Values

DEFAULT_RM_DELAYED_DELEGATION_TOKEN_REMOVAL_INTERVAL_MS

public static final long DEFAULT_RM_DELAYED_DELEGATION_TOKEN_REMOVAL_INTERVAL_MS
See Also:
Constant Field Values

RM_DELEGATION_TOKEN_RENEWER_THREAD_COUNT

public static final String RM_DELEGATION_TOKEN_RENEWER_THREAD_COUNT
Delegation Token renewer thread count

See Also:
Constant Field Values

DEFAULT_RM_DELEGATION_TOKEN_RENEWER_THREAD_COUNT

public static final int DEFAULT_RM_DELEGATION_TOKEN_RENEWER_THREAD_COUNT
See Also:
Constant Field Values

LOG_AGGREGATION_ENABLED

public static final String LOG_AGGREGATION_ENABLED
Whether to enable log aggregation

See Also:
Constant Field Values

DEFAULT_LOG_AGGREGATION_ENABLED

public static final boolean DEFAULT_LOG_AGGREGATION_ENABLED
See Also:
Constant Field Values

LOG_AGGREGATION_RETAIN_SECONDS

public static final String LOG_AGGREGATION_RETAIN_SECONDS
How long to wait before deleting aggregated logs, -1 disables. Be careful set this too small and you will spam the name node.

See Also:
Constant Field Values

DEFAULT_LOG_AGGREGATION_RETAIN_SECONDS

public static final long DEFAULT_LOG_AGGREGATION_RETAIN_SECONDS
See Also:
Constant Field Values

LOG_AGGREGATION_RETAIN_CHECK_INTERVAL_SECONDS

public static final String LOG_AGGREGATION_RETAIN_CHECK_INTERVAL_SECONDS
How long to wait between aggregated log retention checks. If set to a value <= 0 then the value is computed as one-tenth of the log retention setting. Be careful set this too small and you will spam the name node.

See Also:
Constant Field Values

DEFAULT_LOG_AGGREGATION_RETAIN_CHECK_INTERVAL_SECONDS

public static final long DEFAULT_LOG_AGGREGATION_RETAIN_CHECK_INTERVAL_SECONDS
See Also:
Constant Field Values

NM_LOG_RETAIN_SECONDS

public static final String NM_LOG_RETAIN_SECONDS
Number of seconds to retain logs on the NodeManager. Only applicable if Log aggregation is disabled

See Also:
Constant Field Values

DEFAULT_NM_LOG_RETAIN_SECONDS

public static final long DEFAULT_NM_LOG_RETAIN_SECONDS
See Also:
Constant Field Values

NM_LOG_DELETION_THREADS_COUNT

public static final String NM_LOG_DELETION_THREADS_COUNT
Number of threads used in log cleanup. Only applicable if Log aggregation is disabled

See Also:
Constant Field Values

DEFAULT_NM_LOG_DELETE_THREAD_COUNT

public static final int DEFAULT_NM_LOG_DELETE_THREAD_COUNT
See Also:
Constant Field Values

NM_REMOTE_APP_LOG_DIR

public static final String NM_REMOTE_APP_LOG_DIR
Where to aggregate logs to.

See Also:
Constant Field Values

DEFAULT_NM_REMOTE_APP_LOG_DIR

public static final String DEFAULT_NM_REMOTE_APP_LOG_DIR
See Also:
Constant Field Values

NM_REMOTE_APP_LOG_DIR_SUFFIX

public static final String NM_REMOTE_APP_LOG_DIR_SUFFIX
The remote log dir will be created at NM_REMOTE_APP_LOG_DIR/${user}/NM_REMOTE_APP_LOG_DIR_SUFFIX/${appId}

See Also:
Constant Field Values

DEFAULT_NM_REMOTE_APP_LOG_DIR_SUFFIX

public static final String DEFAULT_NM_REMOTE_APP_LOG_DIR_SUFFIX
See Also:
Constant Field Values

YARN_LOG_SERVER_URL

public static final String YARN_LOG_SERVER_URL
See Also:
Constant Field Values

YARN_TRACKING_URL_GENERATOR

public static final String YARN_TRACKING_URL_GENERATOR
See Also:
Constant Field Values

NM_PMEM_MB

public static final String NM_PMEM_MB
Amount of memory in GB that can be allocated for containers.

See Also:
Constant Field Values

DEFAULT_NM_PMEM_MB

public static final int DEFAULT_NM_PMEM_MB
See Also:
Constant Field Values

NM_PMEM_CHECK_ENABLED

public static final String NM_PMEM_CHECK_ENABLED
Specifies whether physical memory check is enabled.

See Also:
Constant Field Values

DEFAULT_NM_PMEM_CHECK_ENABLED

public static final boolean DEFAULT_NM_PMEM_CHECK_ENABLED
See Also:
Constant Field Values

NM_VMEM_CHECK_ENABLED

public static final String NM_VMEM_CHECK_ENABLED
Specifies whether physical memory check is enabled.

See Also:
Constant Field Values

DEFAULT_NM_VMEM_CHECK_ENABLED

public static final boolean DEFAULT_NM_VMEM_CHECK_ENABLED
See Also:
Constant Field Values

NM_VMEM_PMEM_RATIO

public static final String NM_VMEM_PMEM_RATIO
Conversion ratio for physical memory to virtual memory.

See Also:
Constant Field Values

DEFAULT_NM_VMEM_PMEM_RATIO

public static final float DEFAULT_NM_VMEM_PMEM_RATIO
See Also:
Constant Field Values

NM_VCORES

public static final String NM_VCORES
Number of Virtual CPU Cores which can be allocated for containers.

See Also:
Constant Field Values

DEFAULT_NM_VCORES

public static final int DEFAULT_NM_VCORES
See Also:
Constant Field Values

NM_WEBAPP_ADDRESS

public static final String NM_WEBAPP_ADDRESS
NM Webapp address.

See Also:
Constant Field Values

DEFAULT_NM_WEBAPP_PORT

public static final int DEFAULT_NM_WEBAPP_PORT
See Also:
Constant Field Values

DEFAULT_NM_WEBAPP_ADDRESS

public static final String DEFAULT_NM_WEBAPP_ADDRESS
See Also:
Constant Field Values

NM_WEBAPP_HTTPS_ADDRESS

public static final String NM_WEBAPP_HTTPS_ADDRESS
NM Webapp https address.

See Also:
Constant Field Values

DEFAULT_NM_WEBAPP_HTTPS_PORT

public static final int DEFAULT_NM_WEBAPP_HTTPS_PORT
See Also:
Constant Field Values

DEFAULT_NM_WEBAPP_HTTPS_ADDRESS

public static final String DEFAULT_NM_WEBAPP_HTTPS_ADDRESS
See Also:
Constant Field Values

NM_CONTAINER_MON_INTERVAL_MS

public static final String NM_CONTAINER_MON_INTERVAL_MS
How often to monitor containers.

See Also:
Constant Field Values

DEFAULT_NM_CONTAINER_MON_INTERVAL_MS

public static final int DEFAULT_NM_CONTAINER_MON_INTERVAL_MS
See Also:
Constant Field Values

NM_CONTAINER_MON_RESOURCE_CALCULATOR

public static final String NM_CONTAINER_MON_RESOURCE_CALCULATOR
Class that calculates containers current resource utilization.

See Also:
Constant Field Values

NM_CONTAINER_MON_PROCESS_TREE

public static final String NM_CONTAINER_MON_PROCESS_TREE
Class that calculates process tree resource utilization.

See Also:
Constant Field Values

PROCFS_USE_SMAPS_BASED_RSS_ENABLED

public static final String PROCFS_USE_SMAPS_BASED_RSS_ENABLED
See Also:
Constant Field Values

DEFAULT_PROCFS_USE_SMAPS_BASED_RSS_ENABLED

public static final boolean DEFAULT_PROCFS_USE_SMAPS_BASED_RSS_ENABLED
See Also:
Constant Field Values

NM_DISK_HEALTH_CHECK_ENABLE

public static final String NM_DISK_HEALTH_CHECK_ENABLE
Enable/Disable disks' health checker. Default is true. An expert level configuration property.

See Also:
Constant Field Values

NM_DISK_HEALTH_CHECK_INTERVAL_MS

public static final String NM_DISK_HEALTH_CHECK_INTERVAL_MS
Frequency of running disks' health checker.

See Also:
Constant Field Values

DEFAULT_NM_DISK_HEALTH_CHECK_INTERVAL_MS

public static final long DEFAULT_NM_DISK_HEALTH_CHECK_INTERVAL_MS
By default, disks' health is checked every 2 minutes.

See Also:
Constant Field Values

NM_MIN_HEALTHY_DISKS_FRACTION

public static final String NM_MIN_HEALTHY_DISKS_FRACTION
The minimum fraction of number of disks to be healthy for the nodemanager to launch new containers. This applies to nm-local-dirs and nm-log-dirs.

See Also:
Constant Field Values

DEFAULT_NM_MIN_HEALTHY_DISKS_FRACTION

public static final float DEFAULT_NM_MIN_HEALTHY_DISKS_FRACTION
By default, at least 25% of disks are to be healthy to say that the node is healthy in terms of disks.

See Also:
Constant Field Values

NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE

public static final String NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE
The maximum percentage of disk space that can be used after which a disk is marked as offline. Values can range from 0.0 to 100.0. If the value is greater than or equal to 100, NM will check for full disk. This applies to nm-local-dirs and nm-log-dirs.

See Also:
Constant Field Values

DEFAULT_NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE

public static final float DEFAULT_NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE
By default, 100% of the disk can be used before it is marked as offline.

See Also:
Constant Field Values

NM_MIN_PER_DISK_FREE_SPACE_MB

public static final String NM_MIN_PER_DISK_FREE_SPACE_MB
The minimum space that must be available on a local dir for it to be used. This applies to nm-local-dirs and nm-log-dirs.

See Also:
Constant Field Values

DEFAULT_NM_MIN_PER_DISK_FREE_SPACE_MB

public static final long DEFAULT_NM_MIN_PER_DISK_FREE_SPACE_MB
By default, all of the disk can be used before it is marked as offline.

See Also:
Constant Field Values

NM_HEALTH_CHECK_INTERVAL_MS

public static final String NM_HEALTH_CHECK_INTERVAL_MS
Frequency of running node health script.

See Also:
Constant Field Values

DEFAULT_NM_HEALTH_CHECK_INTERVAL_MS

public static final long DEFAULT_NM_HEALTH_CHECK_INTERVAL_MS
See Also:
Constant Field Values

NM_HEALTH_CHECK_SCRIPT_TIMEOUT_MS

public static final String NM_HEALTH_CHECK_SCRIPT_TIMEOUT_MS
Health check script time out period.

See Also:
Constant Field Values

DEFAULT_NM_HEALTH_CHECK_SCRIPT_TIMEOUT_MS

public static final long DEFAULT_NM_HEALTH_CHECK_SCRIPT_TIMEOUT_MS
See Also:
Constant Field Values

NM_HEALTH_CHECK_SCRIPT_PATH

public static final String NM_HEALTH_CHECK_SCRIPT_PATH
The health check script to run.

See Also:
Constant Field Values

NM_HEALTH_CHECK_SCRIPT_OPTS

public static final String NM_HEALTH_CHECK_SCRIPT_OPTS
The arguments to pass to the health check script.

See Also:
Constant Field Values

NM_LINUX_CONTAINER_EXECUTOR_PATH

public static final String NM_LINUX_CONTAINER_EXECUTOR_PATH
The path to the Linux container executor.

See Also:
Constant Field Values

NM_LINUX_CONTAINER_GROUP

public static final String NM_LINUX_CONTAINER_GROUP
The UNIX group that the linux-container-executor should run as. This is intended to be set as part of container-executor.cfg.

See Also:
Constant Field Values

NM_NONSECURE_MODE_LOCAL_USER_KEY

public static final String NM_NONSECURE_MODE_LOCAL_USER_KEY
The UNIX user that containers will run as when Linux-container-executor is used in nonsecure mode (a use case for this is using cgroups).

See Also:
Constant Field Values

DEFAULT_NM_NONSECURE_MODE_LOCAL_USER

public static final String DEFAULT_NM_NONSECURE_MODE_LOCAL_USER
See Also:
Constant Field Values

NM_NONSECURE_MODE_USER_PATTERN_KEY

public static final String NM_NONSECURE_MODE_USER_PATTERN_KEY
The allowed pattern for UNIX user names enforced by Linux-container-executor when used in nonsecure mode (use case for this is using cgroups). The default value is taken from /usr/sbin/adduser

See Also:
Constant Field Values

DEFAULT_NM_NONSECURE_MODE_USER_PATTERN

public static final String DEFAULT_NM_NONSECURE_MODE_USER_PATTERN
See Also:
Constant Field Values

NM_LINUX_CONTAINER_RESOURCES_HANDLER

public static final String NM_LINUX_CONTAINER_RESOURCES_HANDLER
The type of resource enforcement to use with the linux container executor.

See Also:
Constant Field Values

NM_LINUX_CONTAINER_CGROUPS_HIERARCHY

public static final String NM_LINUX_CONTAINER_CGROUPS_HIERARCHY
The path the linux container executor should use for cgroups

See Also:
Constant Field Values

NM_LINUX_CONTAINER_CGROUPS_MOUNT

public static final String NM_LINUX_CONTAINER_CGROUPS_MOUNT
Whether the linux container executor should mount cgroups if not found

See Also:
Constant Field Values

NM_LINUX_CONTAINER_CGROUPS_MOUNT_PATH

public static final String NM_LINUX_CONTAINER_CGROUPS_MOUNT_PATH
Where the linux container executor should mount cgroups if not found

See Also:
Constant Field Values

NM_LINUX_CONTAINER_CGROUPS_DELETE_TIMEOUT

public static final String NM_LINUX_CONTAINER_CGROUPS_DELETE_TIMEOUT
Interval of time the linux container executor should try cleaning up cgroups entry when cleaning up a container. This is required due to what it seems a race condition because the SIGTERM/SIGKILL is asynch.

See Also:
Constant Field Values

DEFAULT_NM_LINUX_CONTAINER_CGROUPS_DELETE_TIMEOUT

public static final long DEFAULT_NM_LINUX_CONTAINER_CGROUPS_DELETE_TIMEOUT
See Also:
Constant Field Values

NM_LOG_AGG_COMPRESSION_TYPE

public static final String NM_LOG_AGG_COMPRESSION_TYPE
T-file compression types used to compress aggregated logs.

See Also:
Constant Field Values

DEFAULT_NM_LOG_AGG_COMPRESSION_TYPE

public static final String DEFAULT_NM_LOG_AGG_COMPRESSION_TYPE
See Also:
Constant Field Values

NM_PRINCIPAL

public static final String NM_PRINCIPAL
The kerberos principal for the node manager.

See Also:
Constant Field Values

NM_AUX_SERVICES

public static final String NM_AUX_SERVICES
See Also:
Constant Field Values

NM_AUX_SERVICE_FMT

public static final String NM_AUX_SERVICE_FMT
See Also:
Constant Field Values

NM_USER_HOME_DIR

public static final String NM_USER_HOME_DIR
See Also:
Constant Field Values

NM_WEBAPP_SPNEGO_USER_NAME_KEY

public static final String NM_WEBAPP_SPNEGO_USER_NAME_KEY
The kerberos principal to be used for spnego filter for NM.

See Also:
Constant Field Values

NM_WEBAPP_SPNEGO_KEYTAB_FILE_KEY

public static final String NM_WEBAPP_SPNEGO_KEYTAB_FILE_KEY
The kerberos keytab to be used for spnego filter for NM.

See Also:
Constant Field Values

DEFAULT_NM_USER_HOME_DIR

public static final String DEFAULT_NM_USER_HOME_DIR
See Also:
Constant Field Values

PROXY_PREFIX

public static final String PROXY_PREFIX
See Also:
Constant Field Values

PROXY_PRINCIPAL

public static final String PROXY_PRINCIPAL
The kerberos principal for the proxy.

See Also:
Constant Field Values

PROXY_KEYTAB

public static final String PROXY_KEYTAB
Keytab for Proxy.

See Also:
Constant Field Values

PROXY_ADDRESS

public static final String PROXY_ADDRESS
The address for the web proxy.

See Also:
Constant Field Values

DEFAULT_PROXY_PORT

public static final int DEFAULT_PROXY_PORT
See Also:
Constant Field Values

DEFAULT_PROXY_ADDRESS

public static final String DEFAULT_PROXY_ADDRESS
See Also:
Constant Field Values

YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCETRACKER_PROTOCOL

public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCETRACKER_PROTOCOL
YARN Service Level Authorization

See Also:
Constant Field Values

YARN_SECURITY_SERVICE_AUTHORIZATION_APPLICATIONCLIENT_PROTOCOL

public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_APPLICATIONCLIENT_PROTOCOL
See Also:
Constant Field Values

YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCEMANAGER_ADMINISTRATION_PROTOCOL

public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCEMANAGER_ADMINISTRATION_PROTOCOL
See Also:
Constant Field Values

YARN_SECURITY_SERVICE_AUTHORIZATION_APPLICATIONMASTER_PROTOCOL

public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_APPLICATIONMASTER_PROTOCOL
See Also:
Constant Field Values

YARN_SECURITY_SERVICE_AUTHORIZATION_CONTAINER_MANAGEMENT_PROTOCOL

public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_CONTAINER_MANAGEMENT_PROTOCOL
See Also:
Constant Field Values

YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCE_LOCALIZER

public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCE_LOCALIZER
See Also:
Constant Field Values

NM_SLEEP_DELAY_BEFORE_SIGKILL_MS

public static final String NM_SLEEP_DELAY_BEFORE_SIGKILL_MS
No. of milliseconds to wait between sending a SIGTERM and SIGKILL to a running container

See Also:
Constant Field Values

DEFAULT_NM_SLEEP_DELAY_BEFORE_SIGKILL_MS

public static final long DEFAULT_NM_SLEEP_DELAY_BEFORE_SIGKILL_MS
See Also:
Constant Field Values

NM_PROCESS_KILL_WAIT_MS

public static final String NM_PROCESS_KILL_WAIT_MS
Max time to wait for a process to come up when trying to cleanup container resources

See Also:
Constant Field Values

DEFAULT_NM_PROCESS_KILL_WAIT_MS

public static final long DEFAULT_NM_PROCESS_KILL_WAIT_MS
See Also:
Constant Field Values

RESOURCEMANAGER_CONNECT_MAX_WAIT_MS

public static final String RESOURCEMANAGER_CONNECT_MAX_WAIT_MS
Max time to wait to establish a connection to RM

See Also:
Constant Field Values

DEFAULT_RESOURCEMANAGER_CONNECT_MAX_WAIT_MS

public static final int DEFAULT_RESOURCEMANAGER_CONNECT_MAX_WAIT_MS
See Also:
Constant Field Values

RESOURCEMANAGER_CONNECT_RETRY_INTERVAL_MS

public static final String RESOURCEMANAGER_CONNECT_RETRY_INTERVAL_MS
Time interval between each attempt to connect to RM

See Also:
Constant Field Values

DEFAULT_RESOURCEMANAGER_CONNECT_RETRY_INTERVAL_MS

public static final long DEFAULT_RESOURCEMANAGER_CONNECT_RETRY_INTERVAL_MS
See Also:
Constant Field Values

YARN_APPLICATION_CLASSPATH

public static final String YARN_APPLICATION_CLASSPATH
CLASSPATH for YARN applications. A comma-separated list of CLASSPATH entries

See Also:
Constant Field Values

DEFAULT_YARN_CROSS_PLATFORM_APPLICATION_CLASSPATH

@InterfaceAudience.Public
@InterfaceStability.Unstable
public static final String[] DEFAULT_YARN_CROSS_PLATFORM_APPLICATION_CLASSPATH
Default platform-agnostic CLASSPATH for YARN applications. A comma-separated list of CLASSPATH entries. The parameter expansion marker will be replaced with real parameter expansion marker ('%' for Windows and '$' for Linux) by NodeManager on container launch. For example: {{VAR}} will be replaced as $VAR on Linux, and %VAR% on Windows.


DEFAULT_YARN_APPLICATION_CLASSPATH

public static final String[] DEFAULT_YARN_APPLICATION_CLASSPATH

Default platform-specific CLASSPATH for YARN applications. A comma-separated list of CLASSPATH entries constructed based on the client OS environment expansion syntax.

Note: Use DEFAULT_YARN_CROSS_PLATFORM_APPLICATION_CLASSPATH for cross-platform practice i.e. submit an application from a Windows client to a Linux/Unix server or vice versa.


DEFAULT_CONTAINER_TEMP_DIR

public static final String DEFAULT_CONTAINER_TEMP_DIR
Container temp directory

See Also:
Constant Field Values

IS_MINI_YARN_CLUSTER

public static final String IS_MINI_YARN_CLUSTER
See Also:
Constant Field Values

YARN_MC_PREFIX

public static final String YARN_MC_PREFIX
See Also:
Constant Field Values

YARN_MINICLUSTER_FIXED_PORTS

public static final String YARN_MINICLUSTER_FIXED_PORTS
Whether to use fixed ports with the minicluster.

See Also:
Constant Field Values

DEFAULT_YARN_MINICLUSTER_FIXED_PORTS

public static final boolean DEFAULT_YARN_MINICLUSTER_FIXED_PORTS
Default is false to be able to run tests concurrently without port conflicts.

See Also:
Constant Field Values

YARN_MINICLUSTER_USE_RPC

public static final String YARN_MINICLUSTER_USE_RPC
Whether the NM should use RPC to connect to the RM. Default is false. Can be set to true only when using fixed ports.

See Also:
Constant Field Values

DEFAULT_YARN_MINICLUSTER_USE_RPC

public static final boolean DEFAULT_YARN_MINICLUSTER_USE_RPC
See Also:
Constant Field Values

YARN_MINICLUSTER_CONTROL_RESOURCE_MONITORING

public static final String YARN_MINICLUSTER_CONTROL_RESOURCE_MONITORING
Whether users are explicitly trying to control resource monitoring configuration for the MiniYARNCluster. Disabled by default.

See Also:
Constant Field Values

DEFAULT_YARN_MINICLUSTER_CONTROL_RESOURCE_MONITORING

public static final boolean DEFAULT_YARN_MINICLUSTER_CONTROL_RESOURCE_MONITORING
See Also:
Constant Field Values

YARN_APP_CONTAINER_LOG_DIR

public static final String YARN_APP_CONTAINER_LOG_DIR
The log directory for the containers

See Also:
Constant Field Values

YARN_APP_CONTAINER_LOG_SIZE

public static final String YARN_APP_CONTAINER_LOG_SIZE
See Also:
Constant Field Values

YARN_APP_CONTAINER_LOG_BACKUPS

public static final String YARN_APP_CONTAINER_LOG_BACKUPS
See Also:
Constant Field Values

TIMELINE_SERVICE_PREFIX

public static final String TIMELINE_SERVICE_PREFIX
See Also:
Constant Field Values

TIMELINE_SERVICE_ENABLED

public static final String TIMELINE_SERVICE_ENABLED
The setting that controls whether timeline service is enabled or not.

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_ENABLED

public static final boolean DEFAULT_TIMELINE_SERVICE_ENABLED
See Also:
Constant Field Values

TIMELINE_SERVICE_ADDRESS

public static final String TIMELINE_SERVICE_ADDRESS
host:port address for timeline service RPC APIs.

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_PORT

public static final int DEFAULT_TIMELINE_SERVICE_PORT
See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_ADDRESS

public static final String DEFAULT_TIMELINE_SERVICE_ADDRESS
See Also:
Constant Field Values

TIMELINE_SERVICE_HANDLER_THREAD_COUNT

public static final String TIMELINE_SERVICE_HANDLER_THREAD_COUNT
The number of threads to handle client RPC API requests.

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_CLIENT_THREAD_COUNT

public static final int DEFAULT_TIMELINE_SERVICE_CLIENT_THREAD_COUNT
See Also:
Constant Field Values

TIMELINE_SERVICE_WEBAPP_ADDRESS

public static final String TIMELINE_SERVICE_WEBAPP_ADDRESS
The address of the timeline service web application.

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_WEBAPP_PORT

public static final int DEFAULT_TIMELINE_SERVICE_WEBAPP_PORT
See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_WEBAPP_ADDRESS

public static final String DEFAULT_TIMELINE_SERVICE_WEBAPP_ADDRESS
See Also:
Constant Field Values

TIMELINE_SERVICE_WEBAPP_HTTPS_ADDRESS

public static final String TIMELINE_SERVICE_WEBAPP_HTTPS_ADDRESS
The https address of the timeline service web application.

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_WEBAPP_HTTPS_PORT

public static final int DEFAULT_TIMELINE_SERVICE_WEBAPP_HTTPS_PORT
See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_WEBAPP_HTTPS_ADDRESS

public static final String DEFAULT_TIMELINE_SERVICE_WEBAPP_HTTPS_ADDRESS
See Also:
Constant Field Values

TIMELINE_SERVICE_WEBAPP_SPNEGO_USER_NAME_KEY

public static final String TIMELINE_SERVICE_WEBAPP_SPNEGO_USER_NAME_KEY
The kerberos principal to be used for spnego filter for timeline service.

See Also:
Constant Field Values

TIMELINE_SERVICE_WEBAPP_SPNEGO_KEYTAB_FILE_KEY

public static final String TIMELINE_SERVICE_WEBAPP_SPNEGO_KEYTAB_FILE_KEY
The kerberos keytab to be used for spnego filter for timeline service.

See Also:
Constant Field Values

TIMELINE_SERVICE_STORE

public static final String TIMELINE_SERVICE_STORE
Timeline service store class

See Also:
Constant Field Values

TIMELINE_SERVICE_TTL_ENABLE

public static final String TIMELINE_SERVICE_TTL_ENABLE
Timeline service enable data age off

See Also:
Constant Field Values

TIMELINE_SERVICE_TTL_MS

public static final String TIMELINE_SERVICE_TTL_MS
Timeline service length of time to retain data

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_TTL_MS

public static final long DEFAULT_TIMELINE_SERVICE_TTL_MS
See Also:
Constant Field Values

TIMELINE_SERVICE_LEVELDB_PREFIX

public static final String TIMELINE_SERVICE_LEVELDB_PREFIX
See Also:
Constant Field Values

TIMELINE_SERVICE_LEVELDB_PATH

public static final String TIMELINE_SERVICE_LEVELDB_PATH
Timeline service leveldb path

See Also:
Constant Field Values

TIMELINE_SERVICE_LEVELDB_READ_CACHE_SIZE

public static final String TIMELINE_SERVICE_LEVELDB_READ_CACHE_SIZE
Timeline service leveldb read cache (uncompressed blocks)

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_LEVELDB_READ_CACHE_SIZE

public static final long DEFAULT_TIMELINE_SERVICE_LEVELDB_READ_CACHE_SIZE
See Also:
Constant Field Values

TIMELINE_SERVICE_LEVELDB_START_TIME_READ_CACHE_SIZE

public static final String TIMELINE_SERVICE_LEVELDB_START_TIME_READ_CACHE_SIZE
Timeline service leveldb start time read cache (number of entities)

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_LEVELDB_START_TIME_READ_CACHE_SIZE

public static final int DEFAULT_TIMELINE_SERVICE_LEVELDB_START_TIME_READ_CACHE_SIZE
See Also:
Constant Field Values

TIMELINE_SERVICE_LEVELDB_START_TIME_WRITE_CACHE_SIZE

public static final String TIMELINE_SERVICE_LEVELDB_START_TIME_WRITE_CACHE_SIZE
Timeline service leveldb start time write cache (number of entities)

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_LEVELDB_START_TIME_WRITE_CACHE_SIZE

public static final int DEFAULT_TIMELINE_SERVICE_LEVELDB_START_TIME_WRITE_CACHE_SIZE
See Also:
Constant Field Values

TIMELINE_SERVICE_LEVELDB_TTL_INTERVAL_MS

public static final String TIMELINE_SERVICE_LEVELDB_TTL_INTERVAL_MS
Timeline service leveldb interval to wait between deletion rounds

See Also:
Constant Field Values

DEFAULT_TIMELINE_SERVICE_LEVELDB_TTL_INTERVAL_MS

public static final long DEFAULT_TIMELINE_SERVICE_LEVELDB_TTL_INTERVAL_MS
See Also:
Constant Field Values

YARN_CLIENT_APP_SUBMISSION_POLL_INTERVAL_MS

@Deprecated
public static final String YARN_CLIENT_APP_SUBMISSION_POLL_INTERVAL_MS
Deprecated. 
Use YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_INTERVAL_MS instead. The interval of the yarn client's querying application state after application submission. The unit is millisecond.

See Also:
Constant Field Values

YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_INTERVAL_MS

public static final String YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_INTERVAL_MS
The interval that the yarn client library uses to poll the completion status of the asynchronous API of application client protocol.

See Also:
Constant Field Values

DEFAULT_YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_INTERVAL_MS

public static final long DEFAULT_YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_INTERVAL_MS
See Also:
Constant Field Values

YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_TIMEOUT_MS

public static final String YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_TIMEOUT_MS
The duration that the yarn client library waits, cumulatively across polls, for an expected state change to occur. Defaults to -1, which indicates no limit.

See Also:
Constant Field Values

DEFAULT_YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_TIMEOUT_MS

public static final long DEFAULT_YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_TIMEOUT_MS
See Also:
Constant Field Values

NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE

public static final String NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE
Max number of threads in NMClientAsync to process container management events

See Also:
Constant Field Values

DEFAULT_NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE

public static final int DEFAULT_NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE
See Also:
Constant Field Values

NM_CLIENT_MAX_NM_PROXIES

public static final String NM_CLIENT_MAX_NM_PROXIES
Maximum number of proxy connections for node manager. It should always be more than 1. NMClient and MRAppMaster will use this to cache connection with node manager. There will be at max one connection per node manager. Ex. configuring it to a value of 5 will make sure that client will at max have 5 connections cached with 5 different node managers. These connections will be timed out if idle for more than system wide idle timeout period. The token if used for authentication then it will be used only at connection creation time. If new token is received then earlier connection should be closed in order to use newer token. Note: NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE are related to each other.

See Also:
Constant Field Values

DEFAULT_NM_CLIENT_MAX_NM_PROXIES

public static final int DEFAULT_NM_CLIENT_MAX_NM_PROXIES
See Also:
Constant Field Values

YARN_HTTP_POLICY_KEY

public static final String YARN_HTTP_POLICY_KEY
See Also:
Constant Field Values

YARN_HTTP_POLICY_DEFAULT

public static final String YARN_HTTP_POLICY_DEFAULT
Constructor Detail

YarnConfiguration

public YarnConfiguration()

YarnConfiguration

public YarnConfiguration(Configuration conf)
Method Detail

getSocketAddr

public InetSocketAddress getSocketAddr(String name,
                                       String defaultAddress,
                                       int defaultPort)
Get the socket address for name property as a InetSocketAddress. On a HA cluster, this fetches the address corresponding to the RM identified by RM_HA_ID.

Overrides:
getSocketAddr in class Configuration
Parameters:
name - property name.
defaultAddress - the default value
defaultPort - the default port
Returns:
InetSocketAddress

updateConnectAddr

public InetSocketAddress updateConnectAddr(String name,
                                           InetSocketAddress addr)
Description copied from class: Configuration
Set the socket address a client can use to connect for the name property as a host:port. The wildcard address is replaced with the local host's address.

Overrides:
updateConnectAddr in class Configuration
Parameters:
name - property name.
addr - InetSocketAddress of a listener to store in the given property
Returns:
InetSocketAddress for clients to connect

useHttps

public static boolean useHttps(Configuration conf)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.