org.apache.hadoop.yarn.api
Interface ApplicationConstants


public interface ApplicationConstants

This is the API for the applications comprising of constants that YARN sets up for the applications and the containers. TODO: Should also be defined in avro/pb IDLs TODO: Investigate the semantics and security of each cross-boundary refs.


Nested Class Summary
static class ApplicationConstants.Environment
          Environment for Applications.
 
Field Summary
static String AM_CONTAINER_ID_ENV
          The environment variable for CONTAINER_ID.
static String APP_SUBMIT_TIME_ENV
          The environment variable for APP_SUBMIT_TIME.
static String APPLICATION_CLIENT_SECRET_ENV_NAME
           
static String APPLICATION_MASTER_TOKEN_ENV_NAME
           
static String APPLICATION_WEB_PROXY_BASE_ENV
          The environmental variable for APPLICATION_WEB_PROXY_BASE.
static String CONTAINER_TOKEN_FILE_ENV_NAME
           
static String LOCAL_DIR_ENV
           
static String LOG_DIR_EXPANSION_VAR
           
static String NM_HOST_ENV
          The environment variable for the NM_HOST.
static String NM_HTTP_PORT_ENV
          The environment variable for the NM_HTTP_PORT.
static String NM_PORT_ENV
          The environment variable for the NM_PORT.
static String STDERR
           
static String STDOUT
           
 

Field Detail

APPLICATION_MASTER_TOKEN_ENV_NAME

static final String APPLICATION_MASTER_TOKEN_ENV_NAME
See Also:
Constant Field Values

APPLICATION_CLIENT_SECRET_ENV_NAME

static final String APPLICATION_CLIENT_SECRET_ENV_NAME
See Also:
Constant Field Values

AM_CONTAINER_ID_ENV

static final String AM_CONTAINER_ID_ENV
The environment variable for CONTAINER_ID. Set in AppMaster environment only

See Also:
Constant Field Values

NM_HOST_ENV

static final String NM_HOST_ENV
The environment variable for the NM_HOST. Set in the AppMaster environment only

See Also:
Constant Field Values

NM_PORT_ENV

static final String NM_PORT_ENV
The environment variable for the NM_PORT. Set in the AppMaster environment only

See Also:
Constant Field Values

NM_HTTP_PORT_ENV

static final String NM_HTTP_PORT_ENV
The environment variable for the NM_HTTP_PORT. Set in the AppMaster environment only

See Also:
Constant Field Values

APP_SUBMIT_TIME_ENV

static final String APP_SUBMIT_TIME_ENV
The environment variable for APP_SUBMIT_TIME. Set in AppMaster environment only

See Also:
Constant Field Values

CONTAINER_TOKEN_FILE_ENV_NAME

static final String CONTAINER_TOKEN_FILE_ENV_NAME
See Also:
Constant Field Values

LOCAL_DIR_ENV

static final String LOCAL_DIR_ENV
See Also:
Constant Field Values

APPLICATION_WEB_PROXY_BASE_ENV

static final String APPLICATION_WEB_PROXY_BASE_ENV
The environmental variable for APPLICATION_WEB_PROXY_BASE. Set in ApplicationMaster's environment only. This states that for all non-relative web URLs in the app masters web UI what base should they have.

See Also:
Constant Field Values

LOG_DIR_EXPANSION_VAR

static final String LOG_DIR_EXPANSION_VAR
See Also:
Constant Field Values

STDERR

static final String STDERR
See Also:
Constant Field Values

STDOUT

static final String STDOUT
See Also:
Constant Field Values


Copyright © 2012 Apache Software Foundation. All Rights Reserved.