@InterfaceAudience.Public @InterfaceStability.Evolving public class YarnConfiguration extends Configuration
Constructor and Description |
---|
YarnConfiguration() |
YarnConfiguration(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getSocketAddr(String name,
String defaultAddress,
int defaultPort)
Get the socket address for
name property as a
InetSocketAddress . |
static boolean |
shouldRMFailFast(Configuration conf) |
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) |
addDefaultResource, addDeprecation, addDeprecation, addDeprecation, addDeprecation, addDeprecations, addResource, addResource, addResource, addResource, addResource, 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, getPassword, getPasswordFromConfig, getPasswordFromCredentialProviders, getPattern, getPropertySources, getProps, getRange, getRaw, getResource, getSocketAddr, getStringCollection, getStrings, getStrings, getTimeDuration, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, hasWarnedDeprecation, isDeprecated, iterator, main, onlyKeyExists, readFields, reloadConfiguration, set, set, setAllowNullValueProperties, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setDeprecatedProperties, setDouble, setEnum, setFloat, setIfUnset, setInt, setLong, setPattern, setQuietMode, setRestrictSystemProperties, setRestrictSystemPropertiesDefault, setRestrictSystemProps, setSocketAddr, setStrings, setTimeDuration, size, toString, unset, updateConnectAddr, write, writeXml, writeXml
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
@InterfaceStability.Evolving public static final int APPLICATION_MAX_TAGS
@InterfaceStability.Evolving public static final int APPLICATION_MAX_TAG_LENGTH
public static final String YARN_PREFIX
public static final String DEBUG_NM_DELETE_DELAY_SEC
public static final String IPC_PREFIX
public static final String IPC_CLIENT_FACTORY_CLASS
public static final String DEFAULT_IPC_CLIENT_FACTORY_CLASS
public static final String IPC_SERVER_FACTORY_CLASS
public static final String DEFAULT_IPC_SERVER_FACTORY_CLASS
public static final String IPC_RECORD_FACTORY_CLASS
public static final String DEFAULT_IPC_RECORD_FACTORY_CLASS
public static final String IPC_RPC_IMPL
public static final String DEFAULT_IPC_RPC_IMPL
public static final String RM_PREFIX
public static final String RM_CLUSTER_ID
public static final String RM_HOSTNAME
public static final String RM_ADDRESS
public static final int DEFAULT_RM_PORT
public static final String DEFAULT_RM_ADDRESS
public static final String RM_BIND_HOST
public static final String RM_CLIENT_THREAD_COUNT
public static final int DEFAULT_RM_CLIENT_THREAD_COUNT
public static final String RM_AMLAUNCHER_THREAD_COUNT
public static final int DEFAULT_RM_AMLAUNCHER_THREAD_COUNT
public static final String RM_NODEMANAGER_CONNECT_RETIRES
public static final int DEFAULT_RM_NODEMANAGER_CONNECT_RETIRES
public static final String RM_PRINCIPAL
public static final String RM_SCHEDULER_ADDRESS
public static final int DEFAULT_RM_SCHEDULER_PORT
public static final String DEFAULT_RM_SCHEDULER_ADDRESS
public static final String RM_SCHEDULER_MINIMUM_ALLOCATION_MB
public static final int DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_MB
public static final String RM_SCHEDULER_MINIMUM_ALLOCATION_VCORES
public static final int DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_VCORES
public static final String RM_SCHEDULER_MAXIMUM_ALLOCATION_MB
public static final int DEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_MB
public static final String RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES
public static final int DEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES
public static final String RM_SCHEDULER_CLIENT_THREAD_COUNT
public static final int DEFAULT_RM_SCHEDULER_CLIENT_THREAD_COUNT
public static final String RM_SCHEDULER_INCLUDE_PORT_IN_NODE_NAME
public static final boolean DEFAULT_RM_SCHEDULER_USE_PORT_FOR_NODE_NAME
public static final String RM_WEBAPP_UI_ACTIONS_ENABLED
public static final boolean DEFAULT_RM_WEBAPP_UI_ACTIONS_ENABLED
public static final String RM_RESERVATION_SYSTEM_ENABLE
public static final boolean DEFAULT_RM_RESERVATION_SYSTEM_ENABLE
public static final String RM_RESERVATION_SYSTEM_CLASS
public static final String RM_RESERVATION_SYSTEM_PLAN_FOLLOWER
public static final String RM_RESERVATION_SYSTEM_PLAN_FOLLOWER_TIME_STEP
public static final long DEFAULT_RM_RESERVATION_SYSTEM_PLAN_FOLLOWER_TIME_STEP
public static final String RM_SCHEDULER_ENABLE_MONITORS
public static final boolean DEFAULT_RM_SCHEDULER_ENABLE_MONITORS
public static final String RM_SCHEDULER_MONITOR_POLICIES
public static final String RM_WEBAPP_ADDRESS
public static final int DEFAULT_RM_WEBAPP_PORT
public static final String DEFAULT_RM_WEBAPP_ADDRESS
public static final String RM_WEBAPP_HTTPS_ADDRESS
public static final boolean YARN_SSL_CLIENT_HTTPS_NEED_AUTH_DEFAULT
public static final String YARN_SSL_SERVER_RESOURCE_DEFAULT
public static final int DEFAULT_RM_WEBAPP_HTTPS_PORT
public static final String DEFAULT_RM_WEBAPP_HTTPS_ADDRESS
public static final String RM_RESOURCE_TRACKER_ADDRESS
public static final int DEFAULT_RM_RESOURCE_TRACKER_PORT
public static final String DEFAULT_RM_RESOURCE_TRACKER_ADDRESS
public static final String RM_AM_EXPIRY_INTERVAL_MS
public static final int DEFAULT_RM_AM_EXPIRY_INTERVAL_MS
public static final String RM_NM_EXPIRY_INTERVAL_MS
public static final int DEFAULT_RM_NM_EXPIRY_INTERVAL_MS
public static final String YARN_ACL_ENABLE
public static final boolean DEFAULT_YARN_ACL_ENABLE
public static final String YARN_ADMIN_ACL
public static final String DEFAULT_YARN_ADMIN_ACL
public static final String DEFAULT_YARN_APP_ACL
public static final String RM_ADMIN_ADDRESS
public static final int DEFAULT_RM_ADMIN_PORT
public static final String DEFAULT_RM_ADMIN_ADDRESS
public static final String RM_ADMIN_CLIENT_THREAD_COUNT
public static final int DEFAULT_RM_ADMIN_CLIENT_THREAD_COUNT
public static final String RM_AM_MAX_ATTEMPTS
public static final int DEFAULT_RM_AM_MAX_ATTEMPTS
public static final String RM_KEYTAB
public static final String RM_WEBAPP_SPNEGO_USER_NAME_KEY
public static final String RM_WEBAPP_SPNEGO_KEYTAB_FILE_KEY
public static final String RM_WEBAPP_DELEGATION_TOKEN_AUTH_FILTER
public static final boolean DEFAULT_RM_WEBAPP_DELEGATION_TOKEN_AUTH_FILTER
public static final String RM_WEBAPP_ENABLE_CORS_FILTER
public static final boolean DEFAULT_RM_WEBAPP_ENABLE_CORS_FILTER
public static final String RM_CONTAINER_ALLOC_EXPIRY_INTERVAL_MS
public static final int DEFAULT_RM_CONTAINER_ALLOC_EXPIRY_INTERVAL_MS
public static final String RM_NODES_INCLUDE_FILE_PATH
public static final String DEFAULT_RM_NODES_INCLUDE_FILE_PATH
public static final String RM_NODES_EXCLUDE_FILE_PATH
public static final String DEFAULT_RM_NODES_EXCLUDE_FILE_PATH
public static final String RM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT
public static final int DEFAULT_RM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT
public static final String RM_SCHEDULER
public static final String DEFAULT_RM_SCHEDULER
public static final String RM_NM_HEARTBEAT_INTERVAL_MS
public static final long DEFAULT_RM_NM_HEARTBEAT_INTERVAL_MS
public static final String RM_HISTORY_WRITER_MULTI_THREADED_DISPATCHER_POOL_SIZE
public static final int DEFAULT_RM_HISTORY_WRITER_MULTI_THREADED_DISPATCHER_POOL_SIZE
public static final String RM_SYSTEM_METRICS_PUBLISHER_ENABLED
public static final boolean DEFAULT_RM_SYSTEM_METRICS_PUBLISHER_ENABLED
public static final String RM_SYSTEM_METRICS_PUBLISHER_DISPATCHER_POOL_SIZE
public static final int DEFAULT_RM_SYSTEM_METRICS_PUBLISHER_DISPATCHER_POOL_SIZE
public static final String RM_DELEGATION_KEY_UPDATE_INTERVAL_KEY
public static final long RM_DELEGATION_KEY_UPDATE_INTERVAL_DEFAULT
public static final String RM_DELEGATION_TOKEN_RENEW_INTERVAL_KEY
public static final long RM_DELEGATION_TOKEN_RENEW_INTERVAL_DEFAULT
public static final String RM_DELEGATION_TOKEN_MAX_LIFETIME_KEY
public static final long RM_DELEGATION_TOKEN_MAX_LIFETIME_DEFAULT
public static final String RECOVERY_ENABLED
public static final boolean DEFAULT_RM_RECOVERY_ENABLED
public static final String YARN_FAIL_FAST
public static final boolean DEFAULT_YARN_FAIL_FAST
public static final String RM_FAIL_FAST
public static final String RM_WORK_PRESERVING_RECOVERY_SCHEDULING_WAIT_MS
public static final long DEFAULT_RM_WORK_PRESERVING_RECOVERY_SCHEDULING_WAIT_MS
public static final String RM_ZK_PREFIX
public static final String RM_ZK_ADDRESS
public static final String RM_ZK_NUM_RETRIES
public static final int DEFAULT_ZK_RM_NUM_RETRIES
public static final String RM_ZK_RETRY_INTERVAL_MS
public static final long DEFAULT_RM_ZK_RETRY_INTERVAL_MS
public static final String RM_ZK_TIMEOUT_MS
public static final int DEFAULT_RM_ZK_TIMEOUT_MS
public static final String RM_ZK_ACL
public static final String DEFAULT_RM_ZK_ACL
public static final String RM_ZK_AUTH
public static final String ZK_STATE_STORE_PREFIX
public static final String ZK_RM_STATE_STORE_PARENT_PATH
public static final String DEFAULT_ZK_RM_STATE_STORE_PARENT_PATH
public static final String ZK_RM_STATE_STORE_ROOT_NODE_ACL
public static final String RM_HA_PREFIX
public static final String RM_HA_ENABLED
public static final boolean DEFAULT_RM_HA_ENABLED
public static final String RM_HA_IDS
public static final String RM_HA_ID
public static final String FS_BASED_RM_CONF_STORE
public static final String DEFAULT_FS_BASED_RM_CONF_STORE
public static final String RM_CONFIGURATION_PROVIDER_CLASS
public static final String DEFAULT_RM_CONFIGURATION_PROVIDER_CLASS
public static final String YARN_AUTHORIZATION_PROVIDER
public static final String AUTO_FAILOVER_PREFIX
public static final String AUTO_FAILOVER_ENABLED
public static final boolean DEFAULT_AUTO_FAILOVER_ENABLED
public static final String AUTO_FAILOVER_EMBEDDED
public static final boolean DEFAULT_AUTO_FAILOVER_EMBEDDED
public static final String AUTO_FAILOVER_ZK_BASE_PATH
public static final String DEFAULT_AUTO_FAILOVER_ZK_BASE_PATH
public static final String CLIENT_FAILOVER_PREFIX
public static final String CLIENT_FAILOVER_PROXY_PROVIDER
public static final String DEFAULT_CLIENT_FAILOVER_PROXY_PROVIDER
public static final String CLIENT_FAILOVER_MAX_ATTEMPTS
public static final String CLIENT_FAILOVER_SLEEPTIME_BASE_MS
public static final String CLIENT_FAILOVER_SLEEPTIME_MAX_MS
public static final String CLIENT_FAILOVER_RETRIES
public static final int DEFAULT_CLIENT_FAILOVER_RETRIES
public static final String CLIENT_FAILOVER_RETRIES_ON_SOCKET_TIMEOUTS
public static final int DEFAULT_CLIENT_FAILOVER_RETRIES_ON_SOCKET_TIMEOUTS
public static final String RM_STORE
public static final String FS_RM_STATE_STORE_URI
public static final String FS_RM_STATE_STORE_RETRY_POLICY_SPEC
public static final String DEFAULT_FS_RM_STATE_STORE_RETRY_POLICY_SPEC
public static final String FS_RM_STATE_STORE_NUM_RETRIES
public static final int DEFAULT_FS_RM_STATE_STORE_NUM_RETRIES
public static final String FS_RM_STATE_STORE_RETRY_INTERVAL_MS
public static final long DEFAULT_FS_RM_STATE_STORE_RETRY_INTERVAL_MS
public static final String RM_LEVELDB_STORE_PATH
public static final String RM_LEVELDB_COMPACTION_INTERVAL_SECS
public static final long DEFAULT_RM_LEVELDB_COMPACTION_INTERVAL_SECS
public static final String RM_MAX_COMPLETED_APPLICATIONS
public static final int DEFAULT_RM_MAX_COMPLETED_APPLICATIONS
public static final String RM_STATE_STORE_MAX_COMPLETED_APPLICATIONS
public static final int DEFAULT_RM_STATE_STORE_MAX_COMPLETED_APPLICATIONS
public static final String DEFAULT_APPLICATION_NAME
public static final String DEFAULT_APPLICATION_TYPE
public static final int APPLICATION_TYPE_LENGTH
public static final String DEFAULT_QUEUE_NAME
public static final String RM_METRICS_RUNTIME_BUCKETS
public static final String DEFAULT_RM_METRICS_RUNTIME_BUCKETS
public static final String RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
public static final long DEFAULT_RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
public static final String RM_CONTAINER_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
public static final long DEFAULT_RM_CONTAINER_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
public static final String RM_NMTOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
public static final long DEFAULT_RM_NMTOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS
public static final String RM_NODEMANAGER_MINIMUM_VERSION
public static final String DEFAULT_RM_NODEMANAGER_MINIMUM_VERSION
public static final String RM_PROXY_USER_PREFIX
public static final String NM_PREFIX
public static final String NM_ADMIN_USER_ENV
public static final String DEFAULT_NM_ADMIN_USER_ENV
public static final String NM_ENV_WHITELIST
public static final String DEFAULT_NM_ENV_WHITELIST
public static final String NM_ADDRESS
public static final int DEFAULT_NM_PORT
public static final String DEFAULT_NM_ADDRESS
public static final String NM_BIND_HOST
public static final String NM_CONTAINER_EXECUTOR
public static final String NM_CONTAINER_EXECUTOR_SCHED_PRIORITY
public static final int DEFAULT_NM_CONTAINER_EXECUTOR_SCHED_PRIORITY
public static final String NM_CONTAINER_MGR_THREAD_COUNT
public static final int DEFAULT_NM_CONTAINER_MGR_THREAD_COUNT
public static final String NM_DELETE_THREAD_COUNT
public static final int DEFAULT_NM_DELETE_THREAD_COUNT
public static final String NM_KEYTAB
public static final String NM_LOCAL_DIRS
public static final String DEFAULT_NM_LOCAL_DIRS
public static final String NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY
public static final int DEFAULT_NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY
public static final String NM_LOCALIZER_ADDRESS
public static final int DEFAULT_NM_LOCALIZER_PORT
public static final String DEFAULT_NM_LOCALIZER_ADDRESS
public static final String NM_LOCALIZER_CACHE_CLEANUP_INTERVAL_MS
public static final long DEFAULT_NM_LOCALIZER_CACHE_CLEANUP_INTERVAL_MS
public static final String NM_LOCALIZER_CACHE_TARGET_SIZE_MB
public static final long DEFAULT_NM_LOCALIZER_CACHE_TARGET_SIZE_MB
public static final String NM_LOCALIZER_CLIENT_THREAD_COUNT
public static final int DEFAULT_NM_LOCALIZER_CLIENT_THREAD_COUNT
public static final String NM_LOCALIZER_FETCH_THREAD_COUNT
public static final int DEFAULT_NM_LOCALIZER_FETCH_THREAD_COUNT
public static final String NM_LOG_DIRS
public static final String DEFAULT_NM_LOG_DIRS
public static final String NM_RESOURCEMANAGER_MINIMUM_VERSION
public static final String DEFAULT_NM_RESOURCEMANAGER_MINIMUM_VERSION
public static final String RM_DELAYED_DELEGATION_TOKEN_REMOVAL_INTERVAL_MS
public static final long DEFAULT_RM_DELAYED_DELEGATION_TOKEN_REMOVAL_INTERVAL_MS
public static final String RM_DELEGATION_TOKEN_RENEWER_THREAD_COUNT
public static final int DEFAULT_RM_DELEGATION_TOKEN_RENEWER_THREAD_COUNT
public static final String RM_PROXY_USER_PRIVILEGES_ENABLED
public static boolean DEFAULT_RM_PROXY_USER_PRIVILEGES_ENABLED
public static final String LOG_AGGREGATION_ENABLED
public static final boolean DEFAULT_LOG_AGGREGATION_ENABLED
public static final String LOG_AGGREGATION_RETAIN_SECONDS
public static final long DEFAULT_LOG_AGGREGATION_RETAIN_SECONDS
public static final String LOG_AGGREGATION_RETAIN_CHECK_INTERVAL_SECONDS
public static final long DEFAULT_LOG_AGGREGATION_RETAIN_CHECK_INTERVAL_SECONDS
public static final String NM_LOG_RETAIN_SECONDS
public static final long DEFAULT_NM_LOG_RETAIN_SECONDS
public static final String NM_LOG_AGGREGATION_ROLL_MONITORING_INTERVAL_SECONDS
public static final long DEFAULT_NM_LOG_AGGREGATION_ROLL_MONITORING_INTERVAL_SECONDS
public static final String NM_LOG_DELETION_THREADS_COUNT
public static final int DEFAULT_NM_LOG_DELETE_THREAD_COUNT
public static final String NM_REMOTE_APP_LOG_DIR
public static final String DEFAULT_NM_REMOTE_APP_LOG_DIR
public static final String NM_REMOTE_APP_LOG_DIR_SUFFIX
public static final String DEFAULT_NM_REMOTE_APP_LOG_DIR_SUFFIX
public static final String YARN_LOG_SERVER_URL
public static final String YARN_TRACKING_URL_GENERATOR
public static final String NM_PMEM_MB
public static final int DEFAULT_NM_PMEM_MB
public static final String NM_PMEM_CHECK_ENABLED
public static final boolean DEFAULT_NM_PMEM_CHECK_ENABLED
public static final String NM_VMEM_CHECK_ENABLED
public static final boolean DEFAULT_NM_VMEM_CHECK_ENABLED
public static final String NM_VMEM_PMEM_RATIO
public static final float DEFAULT_NM_VMEM_PMEM_RATIO
public static final String NM_VCORES
public static final int DEFAULT_NM_VCORES
public static final String NM_RESOURCE_PERCENTAGE_PHYSICAL_CPU_LIMIT
public static final int DEFAULT_NM_RESOURCE_PERCENTAGE_PHYSICAL_CPU_LIMIT
public static final String NM_WEBAPP_ADDRESS
public static final int DEFAULT_NM_WEBAPP_PORT
public static final String DEFAULT_NM_WEBAPP_ADDRESS
public static final String NM_WEBAPP_HTTPS_ADDRESS
public static final int DEFAULT_NM_WEBAPP_HTTPS_PORT
public static final String DEFAULT_NM_WEBAPP_HTTPS_ADDRESS
public static final String NM_WEBAPP_ENABLE_CORS_FILTER
public static final boolean DEFAULT_NM_WEBAPP_ENABLE_CORS_FILTER
public static final String NM_CONTAINER_MON_INTERVAL_MS
public static final int DEFAULT_NM_CONTAINER_MON_INTERVAL_MS
public static final String NM_CONTAINER_MON_RESOURCE_CALCULATOR
public static final String NM_CONTAINER_MON_PROCESS_TREE
public static final String PROCFS_USE_SMAPS_BASED_RSS_ENABLED
public static final boolean DEFAULT_PROCFS_USE_SMAPS_BASED_RSS_ENABLED
public static final String NM_DISK_HEALTH_CHECK_ENABLE
public static final String NM_DISK_HEALTH_CHECK_INTERVAL_MS
public static final long DEFAULT_NM_DISK_HEALTH_CHECK_INTERVAL_MS
public static final String NM_MIN_HEALTHY_DISKS_FRACTION
public static final float DEFAULT_NM_MIN_HEALTHY_DISKS_FRACTION
public static final String NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE
public static final float DEFAULT_NM_MAX_PER_DISK_UTILIZATION_PERCENTAGE
public static final String NM_MIN_PER_DISK_FREE_SPACE_MB
public static final long DEFAULT_NM_MIN_PER_DISK_FREE_SPACE_MB
public static final String NM_HEALTH_CHECK_INTERVAL_MS
public static final long DEFAULT_NM_HEALTH_CHECK_INTERVAL_MS
public static final String NM_HEALTH_CHECK_SCRIPT_TIMEOUT_MS
public static final long DEFAULT_NM_HEALTH_CHECK_SCRIPT_TIMEOUT_MS
public static final String NM_HEALTH_CHECK_SCRIPT_PATH
public static final String NM_HEALTH_CHECK_SCRIPT_OPTS
public static final String NM_DOCKER_CONTAINER_EXECUTOR_IMAGE_NAME
public static final String NM_DOCKER_CONTAINER_EXECUTOR_EXEC_NAME
public static final String NM_DEFAULT_DOCKER_CONTAINER_EXECUTOR_EXEC_NAME
public static final String NM_LINUX_CONTAINER_EXECUTOR_PATH
public static final String NM_LINUX_CONTAINER_GROUP
public static final String NM_NONSECURE_MODE_LIMIT_USERS
public static final boolean DEFAULT_NM_NONSECURE_MODE_LIMIT_USERS
public static final String NM_NONSECURE_MODE_LOCAL_USER_KEY
public static final String DEFAULT_NM_NONSECURE_MODE_LOCAL_USER
public static final String NM_NONSECURE_MODE_USER_PATTERN_KEY
public static final String DEFAULT_NM_NONSECURE_MODE_USER_PATTERN
public static final String NM_LINUX_CONTAINER_RESOURCES_HANDLER
public static final String NM_LINUX_CONTAINER_CGROUPS_HIERARCHY
public static final String NM_LINUX_CONTAINER_CGROUPS_MOUNT
public static final String NM_LINUX_CONTAINER_CGROUPS_MOUNT_PATH
public static final String NM_LINUX_CONTAINER_CGROUPS_STRICT_RESOURCE_USAGE
public static final boolean DEFAULT_NM_LINUX_CONTAINER_CGROUPS_STRICT_RESOURCE_USAGE
public static final String NM_LINUX_CONTAINER_CGROUPS_DELETE_TIMEOUT
public static final long DEFAULT_NM_LINUX_CONTAINER_CGROUPS_DELETE_TIMEOUT
public static final String NM_LINUX_CONTAINER_CGROUPS_DELETE_DELAY
public static final long DEFAULT_NM_LINUX_CONTAINER_CGROUPS_DELETE_DELAY
public static final String NM_WINDOWS_CONTAINER_MEMORY_LIMIT_ENABLED
public static final boolean DEFAULT_NM_WINDOWS_CONTAINER_MEMORY_LIMIT_ENABLED
public static final String NM_WINDOWS_CONTAINER_CPU_LIMIT_ENABLED
public static final boolean DEFAULT_NM_WINDOWS_CONTAINER_CPU_LIMIT_ENABLED
public static final String NM_WINDOWS_SECURE_CONTAINER_GROUP
public static final String NM_LOG_AGG_COMPRESSION_TYPE
public static final String DEFAULT_NM_LOG_AGG_COMPRESSION_TYPE
public static final String NM_PRINCIPAL
public static final String NM_AUX_SERVICES
public static final String NM_AUX_SERVICE_FMT
public static final String NM_USER_HOME_DIR
public static final String NM_WEBAPP_SPNEGO_USER_NAME_KEY
public static final String NM_WEBAPP_SPNEGO_KEYTAB_FILE_KEY
public static final String DEFAULT_NM_USER_HOME_DIR
public static final String NM_RECOVERY_PREFIX
public static final String NM_RECOVERY_ENABLED
public static final boolean DEFAULT_NM_RECOVERY_ENABLED
public static final String NM_RECOVERY_DIR
public static final String NM_RECOVERY_COMPACTION_INTERVAL_SECS
public static final int DEFAULT_NM_RECOVERY_COMPACTION_INTERVAL_SECS
public static final String PROXY_PREFIX
public static final String PROXY_PRINCIPAL
public static final String PROXY_KEYTAB
public static final String PROXY_ADDRESS
public static final int DEFAULT_PROXY_PORT
public static final String DEFAULT_PROXY_ADDRESS
public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCETRACKER_PROTOCOL
public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_APPLICATIONCLIENT_PROTOCOL
public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCEMANAGER_ADMINISTRATION_PROTOCOL
public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_APPLICATIONMASTER_PROTOCOL
public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_CONTAINER_MANAGEMENT_PROTOCOL
public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_RESOURCE_LOCALIZER
public static final String YARN_SECURITY_SERVICE_AUTHORIZATION_APPLICATIONHISTORY_PROTOCOL
public static final String NM_SLEEP_DELAY_BEFORE_SIGKILL_MS
public static final long DEFAULT_NM_SLEEP_DELAY_BEFORE_SIGKILL_MS
public static final String NM_PROCESS_KILL_WAIT_MS
public static final long DEFAULT_NM_PROCESS_KILL_WAIT_MS
public static final String RESOURCEMANAGER_CONNECT_MAX_WAIT_MS
public static final long DEFAULT_RESOURCEMANAGER_CONNECT_MAX_WAIT_MS
public static final String RESOURCEMANAGER_CONNECT_RETRY_INTERVAL_MS
public static final long DEFAULT_RESOURCEMANAGER_CONNECT_RETRY_INTERVAL_MS
public static final String DISPATCHER_DRAIN_EVENTS_TIMEOUT
public static final long DEFAULT_DISPATCHER_DRAIN_EVENTS_TIMEOUT
public static final String YARN_APPLICATION_CLASSPATH
@InterfaceAudience.Public @InterfaceStability.Unstable public static final String[] DEFAULT_YARN_CROSS_PLATFORM_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.
public static final String DEFAULT_CONTAINER_TEMP_DIR
public static final String IS_MINI_YARN_CLUSTER
public static final String YARN_MC_PREFIX
public static final String YARN_MINICLUSTER_FIXED_PORTS
public static final boolean DEFAULT_YARN_MINICLUSTER_FIXED_PORTS
public static final String YARN_MINICLUSTER_USE_RPC
public static final boolean DEFAULT_YARN_MINICLUSTER_USE_RPC
public static final String YARN_MINICLUSTER_CONTROL_RESOURCE_MONITORING
public static final boolean DEFAULT_YARN_MINICLUSTER_CONTROL_RESOURCE_MONITORING
public static final String YARN_MINICLUSTER_NM_PMEM_MB
public static final int DEFAULT_YARN_MINICLUSTER_NM_PMEM_MB
public static final String YARN_APP_CONTAINER_LOG_DIR
public static final String YARN_APP_CONTAINER_LOG_SIZE
public static final String YARN_APP_CONTAINER_LOG_BACKUPS
public static final String TIMELINE_SERVICE_PREFIX
public static final String TIMELINE_SERVICE_UI_NAMES
public static final String TIMELINE_SERVICE_UI_WEB_PATH_PREFIX
public static final String TIMELINE_SERVICE_UI_ON_DISK_PATH_PREFIX
public static final String TIMELINE_SERVICE_ENABLED
public static final boolean DEFAULT_TIMELINE_SERVICE_ENABLED
public static final String TIMELINE_SERVICE_ADDRESS
public static final int DEFAULT_TIMELINE_SERVICE_PORT
public static final String DEFAULT_TIMELINE_SERVICE_ADDRESS
public static final String TIMELINE_SERVICE_BIND_HOST
public static final String TIMELINE_SERVICE_HANDLER_THREAD_COUNT
public static final int DEFAULT_TIMELINE_SERVICE_CLIENT_THREAD_COUNT
public static final String TIMELINE_SERVICE_WEBAPP_ADDRESS
public static final int DEFAULT_TIMELINE_SERVICE_WEBAPP_PORT
public static final String DEFAULT_TIMELINE_SERVICE_WEBAPP_ADDRESS
public static final String TIMELINE_SERVICE_WEBAPP_HTTPS_ADDRESS
public static final int DEFAULT_TIMELINE_SERVICE_WEBAPP_HTTPS_PORT
public static final String DEFAULT_TIMELINE_SERVICE_WEBAPP_HTTPS_ADDRESS
public static final String APPLICATION_HISTORY_MAX_APPS
public static final long DEFAULT_APPLICATION_HISTORY_MAX_APPS
public static final String TIMELINE_SERVICE_STORE
public static final String TIMELINE_SERVICE_TTL_ENABLE
public static final String TIMELINE_SERVICE_TTL_MS
public static final long DEFAULT_TIMELINE_SERVICE_TTL_MS
public static final String TIMELINE_SERVICE_LEVELDB_PREFIX
public static final String TIMELINE_SERVICE_LEVELDB_PATH
public static final String TIMELINE_SERVICE_LEVELDB_READ_CACHE_SIZE
public static final long DEFAULT_TIMELINE_SERVICE_LEVELDB_READ_CACHE_SIZE
public static final String TIMELINE_SERVICE_LEVELDB_START_TIME_READ_CACHE_SIZE
public static final int DEFAULT_TIMELINE_SERVICE_LEVELDB_START_TIME_READ_CACHE_SIZE
public static final String TIMELINE_SERVICE_LEVELDB_START_TIME_WRITE_CACHE_SIZE
public static final int DEFAULT_TIMELINE_SERVICE_LEVELDB_START_TIME_WRITE_CACHE_SIZE
public static final String TIMELINE_SERVICE_LEVELDB_TTL_INTERVAL_MS
public static final long DEFAULT_TIMELINE_SERVICE_LEVELDB_TTL_INTERVAL_MS
public static final String TIMELINE_SERVICE_PRINCIPAL
public static final String TIMELINE_SERVICE_KEYTAB
public static final String TIMELINE_SERVICE_HTTP_CROSS_ORIGIN_ENABLED
public static final boolean TIMELINE_SERVICE_HTTP_CROSS_ORIGIN_ENABLED_DEFAULT
public static final String TIMELINE_SERVICE_CLIENT_PREFIX
public static final String TIMELINE_SERVICE_CLIENT_MAX_RETRIES
public static final int DEFAULT_TIMELINE_SERVICE_CLIENT_MAX_RETRIES
public static final String TIMELINE_SERVICE_CLIENT_RETRY_INTERVAL_MS
public static final long DEFAULT_TIMELINE_SERVICE_CLIENT_RETRY_INTERVAL_MS
public static final String TIMELINE_SERVICE_CLIENT_BEST_EFFORT
public static final boolean DEFAULT_TIMELINE_SERVICE_CLIENT_BEST_EFFORT
public static final String TIMELINE_SERVICE_RECOVERY_ENABLED
public static final boolean DEFAULT_TIMELINE_SERVICE_RECOVERY_ENABLED
public static final String TIMELINE_SERVICE_STATE_STORE_CLASS
public static final String TIMELINE_SERVICE_LEVELDB_STATE_STORE_PREFIX
public static final String TIMELINE_SERVICE_LEVELDB_STATE_STORE_PATH
public static final String TIMELINE_DELEGATION_KEY_UPDATE_INTERVAL
public static final long DEFAULT_TIMELINE_DELEGATION_KEY_UPDATE_INTERVAL
public static final String TIMELINE_DELEGATION_TOKEN_RENEW_INTERVAL
public static final long DEFAULT_TIMELINE_DELEGATION_TOKEN_RENEW_INTERVAL
public static final String TIMELINE_DELEGATION_TOKEN_MAX_LIFETIME
public static final long DEFAULT_TIMELINE_DELEGATION_TOKEN_MAX_LIFETIME
public static final String SHARED_CACHE_PREFIX
public static final String SHARED_CACHE_ENABLED
public static final boolean DEFAULT_SHARED_CACHE_ENABLED
public static final String SHARED_CACHE_ROOT
public static final String DEFAULT_SHARED_CACHE_ROOT
public static final String SHARED_CACHE_NESTED_LEVEL
public static final int DEFAULT_SHARED_CACHE_NESTED_LEVEL
public static final String SCM_STORE_PREFIX
public static final String SCM_STORE_CLASS
public static final String DEFAULT_SCM_STORE_CLASS
public static final String SCM_APP_CHECKER_CLASS
public static final String DEFAULT_SCM_APP_CHECKER_CLASS
public static final String SCM_ADMIN_ADDRESS
public static final int DEFAULT_SCM_ADMIN_PORT
public static final String DEFAULT_SCM_ADMIN_ADDRESS
public static final String SCM_ADMIN_CLIENT_THREAD_COUNT
public static final int DEFAULT_SCM_ADMIN_CLIENT_THREAD_COUNT
public static final String SCM_WEBAPP_ADDRESS
public static final int DEFAULT_SCM_WEBAPP_PORT
public static final String DEFAULT_SCM_WEBAPP_ADDRESS
public static final String IN_MEMORY_STORE_PREFIX
public static final String IN_MEMORY_STALENESS_PERIOD_MINS
public static final int DEFAULT_IN_MEMORY_STALENESS_PERIOD_MINS
public static final String IN_MEMORY_INITIAL_DELAY_MINS
public static final int DEFAULT_IN_MEMORY_INITIAL_DELAY_MINS
public static final String IN_MEMORY_CHECK_PERIOD_MINS
public static final int DEFAULT_IN_MEMORY_CHECK_PERIOD_MINS
public static final String SCM_CLEANER_PERIOD_MINS
public static final int DEFAULT_SCM_CLEANER_PERIOD_MINS
public static final String SCM_CLEANER_INITIAL_DELAY_MINS
public static final int DEFAULT_SCM_CLEANER_INITIAL_DELAY_MINS
public static final String SCM_CLEANER_RESOURCE_SLEEP_MS
public static final long DEFAULT_SCM_CLEANER_RESOURCE_SLEEP_MS
public static final String SCM_UPLOADER_SERVER_ADDRESS
public static final int DEFAULT_SCM_UPLOADER_SERVER_PORT
public static final String DEFAULT_SCM_UPLOADER_SERVER_ADDRESS
public static final String SCM_UPLOADER_SERVER_THREAD_COUNT
public static final int DEFAULT_SCM_UPLOADER_SERVER_THREAD_COUNT
public static final String SCM_CLIENT_SERVER_ADDRESS
public static final int DEFAULT_SCM_CLIENT_SERVER_PORT
public static final String DEFAULT_SCM_CLIENT_SERVER_ADDRESS
public static final String SCM_CLIENT_SERVER_THREAD_COUNT
public static final int DEFAULT_SCM_CLIENT_SERVER_THREAD_COUNT
public static final String SHARED_CACHE_CHECKSUM_ALGO_IMPL
public static final String DEFAULT_SHARED_CACHE_CHECKSUM_ALGO_IMPL
public static final String SHARED_CACHE_NM_UPLOADER_REPLICATION_FACTOR
public static final int DEFAULT_SHARED_CACHE_NM_UPLOADER_REPLICATION_FACTOR
public static final String SHARED_CACHE_NM_UPLOADER_THREAD_COUNT
public static final int DEFAULT_SHARED_CACHE_NM_UPLOADER_THREAD_COUNT
@Deprecated public static final String YARN_CLIENT_APP_SUBMISSION_POLL_INTERVAL_MS
public static final String YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_INTERVAL_MS
public static final long DEFAULT_YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_INTERVAL_MS
public static final String YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_TIMEOUT_MS
public static final long DEFAULT_YARN_CLIENT_APPLICATION_CLIENT_PROTOCOL_POLL_TIMEOUT_MS
public static final String NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE
public static final int DEFAULT_NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE
public static final String NM_CLIENT_MAX_NM_PROXIES
NM_CLIENT_ASYNC_THREAD_POOL_MAX_SIZE
are related
and should be in sync (no need for them to be equal).
If the value of this property is zero then the connection cache is
disabled and connections will use a zero idle timeout to prevent too
many connection threads on large clusters.public static final int DEFAULT_NM_CLIENT_MAX_NM_PROXIES
public static final String CLIENT_NM_CONNECT_MAX_WAIT_MS
public static final long DEFAULT_CLIENT_NM_CONNECT_MAX_WAIT_MS
public static final String CLIENT_NM_CONNECT_RETRY_INTERVAL_MS
public static final long DEFAULT_CLIENT_NM_CONNECT_RETRY_INTERVAL_MS
public static final String YARN_HTTP_POLICY_KEY
public static final String YARN_HTTP_POLICY_DEFAULT
public static final String NODE_LABELS_PREFIX
public static final String FS_NODE_LABELS_STORE_ROOT_DIR
public static final String FS_NODE_LABELS_STORE_RETRY_POLICY_SPEC
public static final String DEFAULT_FS_NODE_LABELS_STORE_RETRY_POLICY_SPEC
public static final String NODE_LABELS_ENABLED
public static final boolean DEFAULT_NODE_LABELS_ENABLED
public YarnConfiguration()
public YarnConfiguration(Configuration conf)
public InetSocketAddress getSocketAddr(String name, String defaultAddress, int defaultPort)
name
property as a
InetSocketAddress
. On a HA cluster,
this fetches the address corresponding to the RM identified by
RM_HA_ID
.getSocketAddr
in class Configuration
name
- property name.defaultAddress
- the default valuedefaultPort
- the default portpublic InetSocketAddress updateConnectAddr(String name, InetSocketAddress addr)
Configuration
name
property as a host:port
. The wildcard
address is replaced with the local host's address.updateConnectAddr
in class Configuration
name
- property name.addr
- InetSocketAddress of a listener to store in the given propertypublic static boolean useHttps(Configuration conf)
public static boolean shouldRMFailFast(Configuration conf)
Copyright © 2018 Apache Software Foundation. All rights reserved.