Constant Field Values (Apache Hadoop YARN Common 3.5.0 API)
Description: summary of constants

# Constant Field Values

## Contents

- org.apache.*

## org.apache.*

- org.apache.hadoop.yarn.client.AMRMClientUtils
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `APP_ALREADY_REGISTERED_MESSAGE`
  `"Application Master is already registered : "`
  `public static final String`
  `EXPECTED_HB_RESPONSEID_MESSAGE`
  `" expect responseId to be "`
  `public static final int`
  `PRE_REGISTER_RESPONSE_ID`
  `-1`
  `public static final String`
  `RECEIVED_HB_RESPONSEID_MESSAGE`
  `" but get "`

- org.apache.hadoop.yarn.client.api.AppAdminClient
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DEFAULT_CLASS_NAME`
  `"org.apache.hadoop.yarn.service.client.ApiServiceClient"`
  `public static final String`
  `DEFAULT_TYPE`
  `"yarn-service"`
  `public static final String`
  `UNIT_TEST_CLASS_NAME`
  `"org.apache.hadoop.yarn.service.client.ServiceClient"`
  `public static final String`
  `UNIT_TEST_TYPE`
  `"unit-test"`
  `public static final String`
  `YARN_APP_ADMIN_CLIENT_PREFIX`
  `"yarn.application.admin.client.class."`

- org.apache.hadoop.yarn.logaggregation.ExtendedLogMetaRequest.ComparisonExpression
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `GREATER_OPERATOR`
  `">"`
  `public static final String`
  `LESSER_OPERATOR`
  `"<"`
- org.apache.hadoop.yarn.logaggregation.LogAggregationUtils
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `TMP_FILE_SUFFIX`
  `".tmp"`
- org.apache.hadoop.yarn.logaggregation.LogCLIHelpers
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `CONTAINER_ON_NODE_PATTERN`
  `"Container: %s on %s"`
- org.apache.hadoop.yarn.logaggregation.LogToolUtils
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `CONTAINER_ON_NODE_PATTERN`
  `"Container: %s on %s"`

- org.apache.hadoop.yarn.logaggregation.filecontroller.ifile.LogAggregationIndexedFileController
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `CHECK_SUM_FILE_SUFFIX`
  `"-checksum"`

- org.apache.hadoop.yarn.nodelabels.CommonNodeLabelsManager
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ANY`
  `"*"`
  `public static final String`
  `NO_LABEL`
  `""`
  `public static final String`
  `NODE_LABELS_NOT_ENABLED_ERR`
  `"Node-label-based scheduling is disabled. Please check yarn.node-labels.enabled"`
  `public static final int`
  `WILDCARD_PORT`
  `0`
- org.apache.hadoop.yarn.nodelabels.FileSystemNodeLabelsStore
  Modifier and Type
  Constant Field
  Value
  `protected static final String`
  `DEFAULT_DIR_NAME`
  `"node-labels"`
  `protected static final String`
  `EDITLOG_FILENAME`
  `"nodelabel.editlog"`
  `protected static final String`
  `MIRROR_FILENAME`
  `"nodelabel.mirror"`

- org.apache.hadoop.yarn.nodelabels.store.op.AddClusterLabelOp
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `OPCODE`
  `0`
- org.apache.hadoop.yarn.nodelabels.store.op.AddNodeToAttributeLogOp
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `OPCODE`
  `0`
- org.apache.hadoop.yarn.nodelabels.store.op.NodeToLabelOp
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `OPCODE`
  `1`
- org.apache.hadoop.yarn.nodelabels.store.op.RemoveClusterLabelOp
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `OPCODE`
  `2`
- org.apache.hadoop.yarn.nodelabels.store.op.RemoveNodeToAttributeLogOp
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `OPCODE`
  `1`
- org.apache.hadoop.yarn.nodelabels.store.op.ReplaceNodeToAttributeLogOp
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `OPCODE`
  `2`

- org.apache.hadoop.yarn.security.client.TimelineAuthenticationConsts
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DELEGATION_PARAM`
  `"delegation"`
  `public static final String`
  `DELEGATION_TOKEN_EXPIRATION_TIME`
  `"expirationTime"`
  `public static final String`
  `DELEGATION_TOKEN_URL`
  `"url"`
  `public static final String`
  `ERROR_CLASSNAME_JSON`
  `"javaClassName"`
  `public static final String`
  `ERROR_EXCEPTION_JSON`
  `"exception"`
  `public static final String`
  `ERROR_MESSAGE_JSON`
  `"message"`
  `public static final String`
  `OP_PARAM`
  `"op"`
  `public static final String`
  `RENEWER_PARAM`
  `"renewer"`
  `public static final String`
  `TOKEN_PARAM`
  `"token"`

- org.apache.hadoop.yarn.server.metrics.AppAttemptMetricsConstants
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DIAGNOSTICS_INFO`
  `"YARN_APPLICATION_ATTEMPT_DIAGNOSTICS_INFO"`
  `public static final String`
  `ENTITY_TYPE`
  `"YARN_APPLICATION_ATTEMPT"`
  `public static final String`
  `FINAL_STATUS_INFO`
  `"YARN_APPLICATION_ATTEMPT_FINAL_STATUS"`
  `public static final String`
  `FINISHED_EVENT_TYPE`
  `"YARN_APPLICATION_ATTEMPT_FINISHED"`
  `public static final String`
  `HOST_INFO`
  `"YARN_APPLICATION_ATTEMPT_HOST"`
  `public static final String`
  `MASTER_CONTAINER_INFO`
  `"YARN_APPLICATION_ATTEMPT_MASTER_CONTAINER"`
  `public static final String`
  `MASTER_NODE_ADDRESS`
  `"YARN_APPLICATION_ATTEMPT_MASTER_NODE_ADDRESS"`
  `public static final String`
  `MASTER_NODE_ID`
  `"YARN_APPLICATION_ATTEMPT_MASTER_NODE_ID"`
  `public static final String`
  `ORIGINAL_TRACKING_URL_INFO`
  `"YARN_APPLICATION_ATTEMPT_ORIGINAL_TRACKING_URL"`
  `public static final String`
  `PARENT_PRIMARY_FILTER`
  `"YARN_APPLICATION_ATTEMPT_PARENT"`
  `public static final String`
  `REGISTERED_EVENT_TYPE`
  `"YARN_APPLICATION_ATTEMPT_REGISTERED"`
  `public static final String`
  `RPC_PORT_INFO`
  `"YARN_APPLICATION_ATTEMPT_RPC_PORT"`
  `public static final String`
  `STATE_INFO`
  `"YARN_APPLICATION_ATTEMPT_STATE"`
  `public static final String`
  `TRACKING_URL_INFO`
  `"YARN_APPLICATION_ATTEMPT_TRACKING_URL"`
- org.apache.hadoop.yarn.server.metrics.ApplicationMetricsConstants
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ACLS_UPDATED_EVENT_TYPE`
  `"YARN_APPLICATION_ACLS_UPDATED"`
  `public static final String`
  `AM_CONTAINER_LAUNCH_COMMAND`
  `"YARN_AM_CONTAINER_LAUNCH_COMMAND"`
  `public static final String`
  `AM_NODE_LABEL_EXPRESSION`
  `"YARN_AM_NODE_LABEL_EXPRESSION"`
  `public static final String`
  `APP_AM_CONTAINER_PREEMPTED`
  `"YARN_APPLICATION_AM_CONTAINER_PREEMPTED"`
  `public static final String`
  `APP_CPU_METRICS`
  `"YARN_APPLICATION_CPU"`
  `public static final String`
  `APP_CPU_PREEMPT_METRICS`
  `"YARN_APPLICATION_CPU_PREEMPT_METRIC"`
  `public static final String`
  `APP_MEM_METRICS`
  `"YARN_APPLICATION_MEMORY"`
  `public static final String`
  `APP_MEM_PREEMPT_METRICS`
  `"YARN_APPLICATION_MEM_PREEMPT_METRIC"`
  `public static final String`
  `APP_NODE_LABEL_EXPRESSION`
  `"YARN_APP_NODE_LABEL_EXPRESSION"`
  `public static final String`
  `APP_NON_AM_CONTAINER_PREEMPTED`
  `"YARN_APPLICATION_NON_AM_CONTAINER_PREEMPTED"`
  `public static final String`
  `APP_RESOURCE_PREEMPTED_CPU`
  `"YARN_APPLICATION_RESOURCE_PREEMPTED_CPU"`
  `public static final String`
  `APP_RESOURCE_PREEMPTED_MEM`
  `"YARN_APPLICATION_RESOURCE_PREEMPTED_MEMORY"`
  `public static final String`
  `APP_TAGS_INFO`
  `"YARN_APPLICATION_TAGS"`
  `public static final String`
  `APP_VIEW_ACLS_ENTITY_INFO`
  `"YARN_APPLICATION_VIEW_ACLS"`
  `public static final String`
  `APPLICATION_PRIORITY_INFO`
  `"YARN_APPLICATION_PRIORITY"`
  `public static final String`
  `CREATED_EVENT_TYPE`
  `"YARN_APPLICATION_CREATED"`
  `public static final String`
  `DIAGNOSTICS_INFO_EVENT_INFO`
  `"YARN_APPLICATION_DIAGNOSTICS_INFO"`
  `public static final String`
  `ENTITY_TYPE`
  `"YARN_APPLICATION"`
  `public static final String`
  `FINAL_STATUS_EVENT_INFO`
  `"YARN_APPLICATION_FINAL_STATUS"`
  `public static final String`
  `FINISHED_EVENT_TYPE`
  `"YARN_APPLICATION_FINISHED"`
  `public static final String`
  `LATEST_APP_ATTEMPT_EVENT_INFO`
  `"YARN_APPLICATION_LATEST_APP_ATTEMPT"`
  `public static final String`
  `LAUNCHED_EVENT_TYPE`
  `"YARN_APPLICATION_LAUNCHED"`
  `public static final String`
  `NAME_ENTITY_INFO`
  `"YARN_APPLICATION_NAME"`
  `public static final String`
  `QUEUE_ENTITY_INFO`
  `"YARN_APPLICATION_QUEUE"`
  `public static final String`
  `STATE_EVENT_INFO`
  `"YARN_APPLICATION_STATE"`
  `public static final String`
  `STATE_UPDATED_EVENT_TYPE`
  `"YARN_APPLICATION_STATE_UPDATED"`
  `public static final String`
  `SUBMITTED_TIME_ENTITY_INFO`
  `"YARN_APPLICATION_SUBMITTED_TIME"`
  `public static final String`
  `TYPE_ENTITY_INFO`
  `"YARN_APPLICATION_TYPE"`
  `public static final String`
  `UNMANAGED_APPLICATION_ENTITY_INFO`
  `"YARN_APPLICATION_UNMANAGED_APPLICATION"`
  `public static final String`
  `UPDATED_EVENT_TYPE`
  `"YARN_APPLICATION_UPDATED"`
  `public static final String`
  `USER_ENTITY_INFO`
  `"YARN_APPLICATION_USER"`
  `public static final String`
  `YARN_APP_CALLER_CONTEXT`
  `"YARN_APPLICATION_CALLER_CONTEXT"`
  `public static final String`
  `YARN_APP_CALLER_SIGNATURE`
  `"YARN_APPLICATION_CALLER_SIGNATURE"`
- org.apache.hadoop.yarn.server.metrics.ContainerMetricsConstants
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ALLOCATED_EXPOSED_PORTS`
  `"YARN_CONTAINER_ALLOCATED_EXPOSED_PORTS"`
  `public static final String`
  `ALLOCATED_HOST_HTTP_ADDRESS_INFO`
  `"YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS"`
  `public static final String`
  `ALLOCATED_HOST_INFO`
  `"YARN_CONTAINER_ALLOCATED_HOST"`
  `public static final String`
  `ALLOCATED_MEMORY_INFO`
  `"YARN_CONTAINER_ALLOCATED_MEMORY"`
  `public static final String`
  `ALLOCATED_PORT_INFO`
  `"YARN_CONTAINER_ALLOCATED_PORT"`
  `public static final String`
  `ALLOCATED_PRIORITY_INFO`
  `"YARN_CONTAINER_ALLOCATED_PRIORITY"`
  `public static final String`
  `ALLOCATED_VCORE_INFO`
  `"YARN_CONTAINER_ALLOCATED_VCORE"`
  `public static final String`
  `CONTAINER_FINISHED_TIME`
  `"YARN_CONTAINER_FINISHED_TIME"`
  `public static final String`
  `CREATED_EVENT_TYPE`
  `"YARN_CONTAINER_CREATED"`
  `public static final String`
  `CREATED_IN_RM_EVENT_TYPE`
  `"YARN_RM_CONTAINER_CREATED"`
  `public static final String`
  `DIAGNOSTICS_INFO`
  `"YARN_CONTAINER_DIAGNOSTICS_INFO"`
  `public static final String`
  `ENTITY_TYPE`
  `"YARN_CONTAINER"`
  `public static final String`
  `EXIT_STATUS_INFO`
  `"YARN_CONTAINER_EXIT_STATUS"`
  `public static final String`
  `FINISHED_EVENT_TYPE`
  `"YARN_CONTAINER_FINISHED"`
  `public static final String`
  `FINISHED_IN_RM_EVENT_TYPE`
  `"YARN_RM_CONTAINER_FINISHED"`
  `public static final String`
  `KILLED_EVENT_TYPE`
  `"YARN_CONTAINER_KILLED"`
  `public static final String`
  `LOCALIZATION_FINISHED_EVENT_TYPE`
  `"YARN_NM_CONTAINER_LOCALIZATION_FINISHED"`
  `public static final String`
  `LOCALIZATION_START_EVENT_TYPE`
  `"YARN_NM_CONTAINER_LOCALIZATION_STARTED"`
  `public static final String`
  `PARENT_PRIMARIY_FILTER`
  `"YARN_CONTAINER_PARENT"`
  `public static final String`
  `PAUSED_EVENT_TYPE`
  `"YARN_CONTAINER_PAUSED"`
  `public static final String`
  `RESUMED_EVENT_TYPE`
  `"YARN_CONTAINER_RESUMED"`
  `public static final String`
  `STATE_INFO`
  `"YARN_CONTAINER_STATE"`

- org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<O>
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `DEFAULT_EXPIRE`
  `300000`
- org.apache.hadoop.yarn.util.AdHocLogDumper
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `AD_HOC_DUMPER_APPENDER`
  `"ad-hoc-dumper-appender"`
- org.apache.hadoop.yarn.util.Apps
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `APP`
  `"application"`
  `public static final String`
  `ID`
  `"ID"`
- org.apache.hadoop.yarn.util.AuxiliaryServiceHelper
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `NM_AUX_SERVICE`
  `"NM_AUX_SERVICE_"`
- org.apache.hadoop.yarn.util.BoundedAppender
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `TRUNCATED_MESSAGES_TEMPLATE`
  `"Diagnostic messages truncated, showing last %d chars out of %d:%n...%s"`
- org.apache.hadoop.yarn.util.ConverterUtils
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `APPLICATION_ATTEMPT_PREFIX`
  `"appattempt"`
  `public static final String`
  `APPLICATION_PREFIX`
  `"application"`
  `public static final String`
  `CONTAINER_PREFIX`
  `"container"`
- org.apache.hadoop.yarn.util.Log4jWarningErrorMetricsAppender
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `LOG_METRICS_APPENDER`
  `"RM_LOG_METRICS_APPENDER"`
- org.apache.hadoop.yarn.util.ProcfsBasedProcessTree
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `KB_TO_BYTES`
  `1024`
  `public static final String`
  `PROCFS_CMDLINE_FILE`
  `"cmdline"`
  `public static final String`
  `PROCFS_STAT_FILE`
  `"stat"`
  `public static final String`
  `SMAPS`
  `"smaps"`
- org.apache.hadoop.yarn.util.ResourceCalculatorProcessTree
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `UNAVAILABLE`
  `-1`

- org.apache.hadoop.yarn.util.timeline.TimelineUtils
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DEFAULT_FLOW_VERSION`
  `"1"`
  `public static final String`
  `FLOW_NAME_TAG_PREFIX`
  `"TIMELINE_FLOW_NAME_TAG"`
  `public static final String`
  `FLOW_RUN_ID_TAG_PREFIX`
  `"TIMELINE_FLOW_RUN_ID_TAG"`
  `public static final String`
  `FLOW_VERSION_TAG_PREFIX`
  `"TIMELINE_FLOW_VERSION_TAG"`

- org.apache.hadoop.yarn.webapp.MimeType
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `HTML`
  `"text/html; charset=UTF-8"`
  `public static final String`
  `HTTP`
  `"message/http; charset=UTF-8"`
  `public static final String`
  `JSON`
  `"application/json; charset=UTF-8"`
  `public static final String`
  `TEXT`
  `"text/plain; charset=UTF-8"`
  `public static final String`
  `XML`
  `"text/xml; charset=UTF-8"`
- org.apache.hadoop.yarn.webapp.Params
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ERROR_DETAILS`
  `"error.details"`
  `public static final String`
  `TITLE`
  `"title"`
  `public static final String`
  `TITLE_LINK`
  `"title.href"`
  `public static final String`
  `USER`
  `"user"`
- org.apache.hadoop.yarn.webapp.YarnWebParams
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `APP_HISTORY_WEB_UI`
  `"ApplicationHistoryServer"`
  `public static final String`
  `APP_OWNER`
  `"app.owner"`
  `public static final String`
  `APP_SC`
  `"app.subcluster"`
  `public static final String`
  `APP_START_TIME_BEGIN`
  `"app.started-time.begin"`
  `public static final String`
  `APP_START_TIME_END`
  `"app.started-time.end"`
  `public static final String`
  `APP_STATE`
  `"app.state"`
  `public static final String`
  `APPLICATION_ATTEMPT_ID`
  `"appattempt.id"`
  `public static final String`
  `APPLICATION_ID`
  `"app.id"`
  `public static final String`
  `APPS_NUM`
  `"apps.num"`
  `public static final String`
  `CONTAINER_ID`
  `"container.id"`
  `public static final String`
  `CONTAINER_LOG_TYPE`
  `"log.type"`
  `public static final String`
  `ENTITY_STRING`
  `"entity.string"`
  `public static final String`
  `ERROR_MESSAGE`
  `"error.message"`
  `public static final String`
  `NEXT_REFRESH_INTERVAL`
  `"next.refresh.interval"`
  `public static final String`
  `NM_NODENAME`
  `"nm.id"`
  `public static final String`
  `NODE_LABEL`
  `"node.label"`
  `public static final String`
  `NODE_SC`
  `"node.subcluster"`
  `public static final String`
  `NODE_STATE`
  `"node.state"`
  `public static final String`
  `QUEUE_NAME`
  `"queue.name"`
  `public static final String`
  `RM_WEB_UI`
  `"ResourceManager"`
  `public static final String`
  `WEB_UI_TYPE`
  `"web.ui.type"`

- org.apache.hadoop.yarn.webapp.util.WebAppUtils
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `HTTP_PREFIX`
  `"http://"`
  `public static final String`
  `HTTPS_PREFIX`
  `"https://"`
  `public static final String`
  `WEB_APP_KEY_PASSWORD_KEY`
  `"ssl.server.keystore.keypassword"`
  `public static final String`
  `WEB_APP_KEYSTORE_PASSWORD_KEY`
  `"ssl.server.keystore.password"`
  `public static final String`
  `WEB_APP_TRUSTSTORE_PASSWORD_KEY`
  `"ssl.server.truststore.password"`

- org.apache.hadoop.yarn.webapp.view.HtmlBlock
  Modifier and Type
  Constant Field
  Value
  `protected static final long`
  `BYTES_IN_MB`
  `1048576L`
  `protected static final String`
  `DATE_PATTERN`
  `"yyyy-MM-dd HH:mm:ss"`
  `protected static final String`
  `UNAVAILABLE`
  `"N/A"`
- org.apache.hadoop.yarn.webapp.view.HtmlPage
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DOCTYPE`
  `"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">"`
- org.apache.hadoop.yarn.webapp.view.JQueryUI
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `_EVEN`
  `".even"`
  `public static final String`
  `_INFO`
  `".info"`
  `public static final String`
  `_INFO_WRAP`
  `".info-wrap.ui-widget-content.ui-corner-bottom"`
  `public static final String`
  `_ODD`
  `".odd"`
  `public static final String`
  `_PROGRESSBAR`
  `".ui-progressbar.ui-widget.ui-widget-content.ui-corner-all"`
  `public static final String`
  `_PROGRESSBAR_VALUE`
  `".ui-progressbar-value.ui-widget-header.ui-corner-left"`
  `public static final String`
  `_TH`
  `".ui-state-default"`
  `public static final String`
  `ACCORDION`
  `"ui.accordion"`
  `public static final String`
  `ACCORDION_ID`
  `"ui.accordion.id"`
  `public static final String`
  `C_TABLE`
  `"table"`
  `public static final String`
  `DATATABLES`
  `"ui.dataTables"`
  `public static final String`
  `DATATABLES_ID`
  `"ui.dataTables.id"`
  `public static final String`
  `DATATABLES_SELECTOR`
  `"ui.dataTables.selector"`
  `public static final String`
  `DIALOG`
  `"ui.dialog"`
  `public static final String`
  `DIALOG_ID`
  `"ui.dialog.id"`
  `public static final String`
  `DIALOG_SELECTOR`
  `"ui.dialog.selector"`
  `public static final String`
  `PROGRESSBAR`
  `"ui.progressbar"`
  `public static final String`
  `PROGRESSBAR_ID`
  `"ui.progressbar.id"`
- org.apache.hadoop.yarn.webapp.view.RobotsTextPage
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ROBOTS_TXT`
  `"robots.txt"`
  `public static final String`
  `ROBOTS_TXT_PATH`
  `"/robots.txt"`