org.apache.oozie.action.hadoop
Class ScriptLanguageActionExecutor

java.lang.Object
  extended by org.apache.oozie.action.ActionExecutor
      extended by org.apache.oozie.action.hadoop.JavaActionExecutor
          extended by org.apache.oozie.action.hadoop.ScriptLanguageActionExecutor
Direct Known Subclasses:
HiveActionExecutor, PigActionExecutor

public abstract class ScriptLanguageActionExecutor
extends JavaActionExecutor


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.oozie.action.ActionExecutor
ActionExecutor.Context
 
Field Summary
 
Fields inherited from class org.apache.oozie.action.hadoop.JavaActionExecutor
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
 
Fields inherited from class org.apache.oozie.action.ActionExecutor
CONF_PREFIX, ERROR_OTHER, MAX_RETRIES, requiresNNJT, RETRY_INTERVAL
 
Constructor Summary
ScriptLanguageActionExecutor(String type)
           
 
Method Summary
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)
           
 
Methods inherited from class org.apache.oozie.action.hadoop.JavaActionExecutor
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
 
Methods inherited from class org.apache.oozie.action.ActionExecutor
convertException, disableInit, enableInit, getActionDir, getActionDirPath, getActionSignal, getMaxRetries, getOozieConf, getOozieRuntimeDir, getOozieSystemId, getRetryInterval, getType, registerError, resetInitInfo, setMaxRetries, setRetryInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptLanguageActionExecutor

public ScriptLanguageActionExecutor(String type)
Method Detail

getLauncherClasses

protected List<Class> getLauncherClasses()
Overrides:
getLauncherClasses in class JavaActionExecutor

setupLauncherConf

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
Throws:
ActionExecutorException

getScriptName

protected abstract String getScriptName()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.