public abstract class ScriptLanguageActionExecutor extends JavaActionExecutor
ActionExecutor.Context, ActionExecutor.RETRYPOLICY
ACL_MODIFY_JOB, ACL_VIEW_JOB, DEFAULT_LAUNCHER_MAX_ATTEMPS, DEFAULT_LAUNCHER_MEMORY_MB, DEFAULT_LAUNCHER_PRIORITY, DEFAULT_LAUNCHER_QUEUE, DEFAULT_LAUNCHER_VCORES, FAILED, FAILED_KILLED, HADOOP_CHILD_JAVA_ENV, HADOOP_CHILD_JAVA_OPTS, HADOOP_JOB_CLASSLOADER, HADOOP_MAP_JAVA_ENV, HADOOP_MAP_JAVA_OPTS, HADOOP_MAP_MEMORY_MB, HADOOP_NAME_NODE, HADOOP_REDUCE_JAVA_OPTS, HADOOP_USER, HADOOP_USER_CLASSPATH_FIRST, HADOOP_YARN_KILL_CHILD_JOBS_ON_AMRESTART, HADOOP_YARN_RM, HADOOP_YARN_TIMELINE_SERVICE_ENABLED, HADOOP_YARN_UBER_MODE, KILLED, LAUNCER_MODIFY_ACL, LAUNCER_VIEW_ACL, LOG, MAPREDUCE_TO_CLASSPATH, MAX_EXTERNAL_STATS_SIZE, OOZIE_ACTION_LAUNCHER_PREFIX, OOZIE_COMMON_LIBDIR, OOZIE_CREDENTIALS_SKIP, OOZIE_LAUNCHER_ADD_MAPREDUCE_TO_CLASSPATH_PROPERTY, RUNNING, SUCCEEDED, workflowConf, YARN_AM_COMMAND_OPTS, YARN_AM_ENV, YARN_AM_RESOURCE_MB, YARN_MEMORY_MB_MIN
ACTION_RETRY_INTERVAL, ACTION_RETRY_POLICY, CONF_PREFIX, ERROR_OTHER, MAX_RETRIES, OOZIE_ACTION_YARN_TAG, RETRY_INTERVAL
Constructor and Description |
---|
ScriptLanguageActionExecutor(String type) |
Modifier and Type | Method and Description |
---|---|
protected void |
addScriptToCache(org.apache.hadoop.conf.Configuration conf,
org.jdom.Element actionXml,
org.apache.hadoop.fs.Path appPath,
ActionExecutor.Context context) |
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) |
protected boolean |
shouldAddScriptToCache() |
addActionLibs, addActionSpecificEnvVars, addAppNameContext, addShareLib, addSystemShareLibForAction, check, createBaseHadoopConf, createBaseHadoopConf, createJobClient, createYarnClient, end, getActionCredentialsProperties, getActionData, getActualExternalId, getAppName, getCaptureOutput, getCommonLauncherClasses, getCredProperties, getDefaultShareLibName, getLauncherMain, getMaxExternalStatsSize, getMaxOutputData, getShareLibFilesForActionConf, getShareLibNames, getTrimmedEncodedPath, initActionType, injectCallback, isCompleted, kill, loadHadoopDefaultResources, parseJobXmlAndConfiguration, parseJobXmlAndConfiguration, prepareActionDir, requiresNameNodeJobTracker, setActionCompletionData, setActionTokenProperties, setCredentialTokens, setLibFilesArchives, start, submitLauncher, supportsConfigurationJobXML
convertException, disableInit, enableInit, getActionDir, getActionDirPath, getActionSignal, getActionYarnTag, getMaxRetries, getOozieConf, getOozieRuntimeDir, getOozieSystemId, getRetryInterval, getRetryPolicy, getType, registerError, resetInitInfo, setMaxRetries, setRetryInterval, setRetryPolicy
public ScriptLanguageActionExecutor(String type)
public List<Class<?>> getLauncherClasses()
getLauncherClasses
in class JavaActionExecutor
protected boolean shouldAddScriptToCache()
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 void addScriptToCache(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 © 2018 Apache Software Foundation. All rights reserved.