public class DistcpActionExecutor extends JavaActionExecutor
ActionExecutor.Context
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAMES |
static String |
CONF_OOZIE_DISTCP_ACTION_MAIN_CLASS |
static String |
DISTCP_TYPE |
ACL_MODIFY_JOB, ACL_VIEW_JOB, HADOOP_CHILD_JAVA_ENV, HADOOP_CHILD_JAVA_OPTS, HADOOP_JOB_TRACKER, HADOOP_JOB_TRACKER_2, HADOOP_MAP_JAVA_ENV, HADOOP_MAP_JAVA_OPTS, HADOOP_MAP_MEMORY_MB, HADOOP_NAME_NODE, HADOOP_YARN_RM, HADOOP_YARN_UBER_MODE, MAX_EXTERNAL_STATS_SIZE, MAX_EXTERNAL_STATS_SIZE_DEFAULT, OOZIE_COMMON_LIBDIR, YARN_AM_COMMAND_OPTS, YARN_AM_ENV, YARN_AM_RESOURCE_MB, YARN_MEMORY_MB_MIN
CONF_PREFIX, ERROR_OTHER, MAX_RETRIES, requiresNNJT, RETRY_INTERVAL
Constructor and Description |
---|
DistcpActionExecutor() |
Modifier and Type | Method and Description |
---|---|
static String |
getClassNamebyType(String type)
This function returns the Action classes names from the configuration
|
protected String |
getDefaultShareLibName(org.jdom.Element actionXml)
Return the sharelib name for the action.
|
List<Class> |
getLauncherClasses() |
static String |
Trim(String str)
To trim string
|
addActionLibs, addShareLib, addSystemShareLibForAction, check, createBaseHadoopConf, createJobClient, end, extractHeapSizeMB, getActionCredentialsProperties, getActionData, getCaptureOutput, getCommonLauncherClasses, getCredProperties, getLauncherMain, getMaxExternalStatsSize, getRunningJob, getShareLibNames, initActionType, isCompleted, kill, parseJobXmlAndConfiguration, prepareActionDir, setActionCompletionData, setCredentialPropertyToActionConf, setCredentialTokens, setLibFilesArchives, start, submitLauncher
convertException, disableInit, enableInit, getActionDir, getActionDirPath, getActionSignal, getMaxRetries, getOozieConf, getOozieRuntimeDir, getOozieSystemId, getRetryInterval, getType, registerError, resetInitInfo, setMaxRetries, setRetryInterval
public static final String CONF_OOZIE_DISTCP_ACTION_MAIN_CLASS
public static final String CLASS_NAMES
public static final String DISTCP_TYPE
public DistcpActionExecutor()
public List<Class> getLauncherClasses()
getLauncherClasses
in class JavaActionExecutor
public static String getClassNamebyType(String type)
type
- This is type of the action classesprotected String getDefaultShareLibName(org.jdom.Element actionXml)
getDefaultShareLibName
in class JavaActionExecutor
actionXml
- distcp
.Copyright © 2014 Apache Software Foundation. All Rights Reserved.