public abstract class ScriptLanguageActionExecutor extends JavaActionExecutor
ActionExecutor.Context
ACL_MODIFY_JOB, ACL_VIEW_JOB, HADOOP_JOB_TRACKER, HADOOP_JOB_TRACKER_2, HADOOP_NAME_NODE, HADOOP_YARN_RM, log, MAX_EXTERNAL_STATS_SIZE, MAX_EXTERNAL_STATS_SIZE_DEFAULT, OOZIE_ACTION_SHIP_LAUNCHER_JAR, OOZIE_COMMON_LIBDIR
CONF_PREFIX, ERROR_OTHER, MAX_RETRIES, requiresNNJT, RETRY_INTERVAL
Constructor and Description |
---|
ScriptLanguageActionExecutor(String type) |
Modifier and Type | Method and Description |
---|---|
protected List<Class> |
getLauncherClasses() |
protected abstract String |
getScriptName() |
protected org.apache.hadoop.conf.Configuration |
setupLauncherConf(org.apache.hadoop.conf.Configuration conf,
org.jdom.Element actionXml,
org.apache.hadoop.fs.Path appPath,
ActionExecutor.Context context) |
addActionLibs, addShareLib, check, createBaseHadoopConf, createJobClient, createLauncherJar, end, getActionCredentialsProperties, getActionData, getCaptureOutput, getCredProperties, getDefaultShareLibName, getLauncherJarName, getLauncherMain, getMaxExternalStatsSize, getRunningJob, getShareLibNames, initActionType, isCompleted, kill, parseJobXmlAndConfiguration, prepareActionDir, setActionCompletionData, setCredentialPropertyToActionConf, setCredentialTokens, start, submitLauncher
convertException, disableInit, enableInit, getActionDir, getActionDirPath, getActionSignal, getMaxRetries, getOozieConf, getOozieRuntimeDir, getOozieSystemId, getRetryInterval, getType, registerError, resetInitInfo, setMaxRetries, setRetryInterval
public ScriptLanguageActionExecutor(String type)
protected List<Class> getLauncherClasses()
getLauncherClasses
in class JavaActionExecutor
protected org.apache.hadoop.conf.Configuration setupLauncherConf(org.apache.hadoop.conf.Configuration conf, org.jdom.Element actionXml, org.apache.hadoop.fs.Path appPath, ActionExecutor.Context context) throws ActionExecutorException
ActionExecutorException
protected abstract String getScriptName()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.