Java org.apache.hadoop.yarn.conf YarnConfiguration fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.yarn.conf YarnConfiguration fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.yarn.conf YarnConfiguration.

The text is from its open source code.

Subclass

org.apache.hadoop.yarn.conf.YarnConfiguration has subclasses.
Click this link to see all its subclasses.

Field

StringYARN_SITE_CONFIGURATION_FILE
StringDEBUG_NM_DELETE_DELAY_SEC
Delay before deleting resource to ease debugging of NM issues
StringRM_HOSTNAME
StringRM_ADDRESS
The address of the applications manager interface in the RM.
intDEFAULT_RM_PORT
StringDEFAULT_RM_ADDRESS
StringRM_BIND_HOST
The actual bind address for the RM.
StringRM_PRINCIPAL
The Kerberos principal for the resource manager.
StringRM_SCHEDULER_ADDRESS
The address of the scheduler interface.
intDEFAULT_RM_SCHEDULER_PORT
StringDEFAULT_RM_SCHEDULER_ADDRESS
StringRM_SCHEDULER_MINIMUM_ALLOCATION_MB
Minimum request grant-able by the RM scheduler.
intDEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_MB
StringRM_SCHEDULER_MINIMUM_ALLOCATION_VCORES
StringRM_SCHEDULER_MAXIMUM_ALLOCATION_MB
Maximum request grant-able by the RM scheduler.
intDEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_MB
StringRM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES
intDEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES
StringRM_SCHEDULER_INCLUDE_PORT_IN_NODE_NAME
If the port should be included or not in the node name.
booleanDEFAULT_RM_SCHEDULER_USE_PORT_FOR_NODE_NAME
StringRM_WEBAPP_ADDRESS
The address of the RM web application.
StringDEFAULT_RM_WEBAPP_ADDRESS
StringRM_WEBAPP_HTTPS_ADDRESS
The https address of the RM web application.
StringDEFAULT_RM_WEBAPP_HTTPS_ADDRESS
StringRM_RESOURCE_TRACKER_ADDRESS
intDEFAULT_RM_RESOURCE_TRACKER_PORT
StringRM_AM_EXPIRY_INTERVAL_MS
The expiry interval for application master reporting.
intDEFAULT_RM_AM_EXPIRY_INTERVAL_MS
StringRM_NM_EXPIRY_INTERVAL_MS
How long to wait until a node manager is considered dead.
StringYARN_ACL_ENABLE
Are acls enabled.
booleanDEFAULT_YARN_ACL_ENABLE
StringYARN_ADMIN_ACL
ACL of who can be admin of YARN cluster.
StringDEFAULT_YARN_ADMIN_ACL
StringRM_AM_MAX_ATTEMPTS
The maximum number of application attempts.
intDEFAULT_RM_AM_MAX_ATTEMPTS
StringRM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT
Number of threads to handle resource tracker calls.
intDEFAULT_RM_RESOURCE_TRACKER_CLIENT_THREAD_COUNT
StringRM_SCHEDULER
The class to use as the resource scheduler.
StringRM_NM_HEARTBEAT_INTERVAL_MS
RM set next Heartbeat interval for NM
StringRM_HA_ENABLED
booleanDEFAULT_RM_HA_ENABLED
StringRM_HA_ID
StringDEFAULT_APPLICATION_NAME
Default application name
StringDEFAULT_QUEUE_NAME
Default queue name
StringNM_ADMIN_USER_ENV
Environment variables that will be sent to containers.
intDEFAULT_NM_PORT
StringNM_CONTAINER_EXECUTOR
who will execute(launch) the containers.
StringNM_CONTAINER_MGR_THREAD_COUNT
Number of threads container manager uses.
StringNM_LOCAL_DIRS
List of directories to store localized files in.
StringNM_LOG_DIRS
Where to store container logs.
StringDEFAULT_NM_LOG_DIRS
StringLOG_AGGREGATION_ENABLED
Whether to enable log aggregation
booleanDEFAULT_LOG_AGGREGATION_ENABLED
StringNM_REMOTE_APP_LOG_DIR
Where to aggregate logs to.
StringDEFAULT_NM_REMOTE_APP_LOG_DIR
StringNM_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}
StringDEFAULT_NM_REMOTE_APP_LOG_DIR_SUFFIX
StringYARN_LOG_SERVER_URL
StringNM_PMEM_MB
Amount of memory in MB that can be allocated for containers.
intDEFAULT_NM_PMEM_MB
StringNM_PMEM_CHECK_ENABLED
Specifies whether physical memory check is enabled.
StringNM_VMEM_CHECK_ENABLED
Specifies whether physical memory check is enabled.
StringNM_VCORES
Number of Virtual CPU Cores which can be allocated for containers.
intDEFAULT_NM_VCORES
intDEFAULT_NM_WEBAPP_PORT
StringDEFAULT_NM_NONSECURE_MODE_LOCAL_USER
StringNM_AUX_SERVICES
StringNM_AUX_SERVICE_FMT
StringRESOURCEMANAGER_CONNECT_MAX_WAIT_MS
Max time to wait to establish a connection to RM
longDEFAULT_RESOURCEMANAGER_CONNECT_MAX_WAIT_MS
StringRESOURCEMANAGER_CONNECT_RETRY_INTERVAL_MS
Time interval between each attempt to connect to RM
StringYARN_APPLICATION_CLASSPATH
CLASSPATH for YARN applications.
String[]DEFAULT_YARN_CROSS_PLATFORM_APPLICATION_CLASSPATH
Default platform-agnostic CLASSPATH for YARN applications.
String[]DEFAULT_YARN_APPLICATION_CLASSPATH

Default platform-specific CLASSPATH for YARN applications.

StringDEFAULT_CONTAINER_TEMP_DIR
Container temp directory
StringIS_MINI_YARN_CLUSTER
StringYARN_MINICLUSTER_FIXED_PORTS
Whether to use fixed ports with the minicluster.
StringYARN_APP_CONTAINER_LOG_DIR
The log directory for the containers
StringTIMELINE_SERVICE_VERSION
StringTIMELINE_SERVICE_ENTITYGROUP_FS_STORE_ACTIVE_DIR
StringTIMELINE_SERVICE_ENTITYGROUP_FS_STORE_DONE_DIR
StringTIMELINE_SERVICE_ENTITYGROUP_FS_STORE_SUMMARY_ENTITY_TYPES
StringTIMELINE_SERVICE_ENABLED
The setting that controls whether timeline service is enabled or not.
booleanDEFAULT_TIMELINE_SERVICE_ENABLED
StringTIMELINE_SERVICE_ADDRESS
host:port address for timeline service RPC APIs.
StringTIMELINE_SERVICE_WEBAPP_ADDRESS
The address of the timeline service web application.
StringTIMELINE_SERVICE_WEBAPP_HTTPS_ADDRESS
The https address of the timeline service web application.
StringTIMELINE_SERVICE_STORE
Timeline service store class.
StringYARN_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.
StringNM_CLIENT_MAX_NM_PROXIES
Maximum number of proxy connections to cache for node managers.
StringYARN_HTTP_POLICY_KEY
StringYARN_HTTP_POLICY_DEFAULT
StringNODE_LABELS_ENABLED
Flag to indicate if the node labels feature enabled, by default it's disabled

Constructor

Method

voidaddResource(String name)
Add a configuration resource.
Stringget(String name, String defaultValue)
Get the value of the name.
Stringget(String name)
Get the value of the name property, null if no such property exists.
booleangetBoolean(String name, boolean defaultValue)
Get the value of the name property as a boolean.
intgetInt(String name, int defaultValue)
Get the value of the name property as an int.
longgetLong(String name, long defaultValue)
Get the value of the name property as a long.
InetSocketAddressgetSocketAddr(String name, String defaultAddress, int defaultPort)
Get the socket address for name property as a InetSocketAddress.
String[]getStrings(String name, String... defaultValue)
Get the comma delimited values of the name property as an array of Strings.
String[]getStrings(String name)
Get the comma delimited values of the name property as an array of Strings.
String[]getTrimmedStrings(String name)
Get the comma delimited values of the name property as an array of Strings, trimmed of the leading and trailing whitespace.
voidset(String name, String value)
Set the value of the name property.
voidsetBoolean(String name, boolean value)
Set the value of the name property to a boolean.
voidsetClass(String name, Class theClass, Class xface)
Set the value of the name property to the name of a theClass implementing the given interface xface.
voidsetInt(String name, int value)
Set the value of the name property to an int.
voidsetSocketAddr(String name, InetSocketAddress addr)
Set the socket address for the name property as a host:port.
booleanuseHttps(Configuration conf)
voidwriteXml(OutputStream out)
Write out the non-default properties in this configuration to the given OutputStream using UTF-8 encoding.