public class PigActionExecutor extends ScriptLanguageActionExecutor
ActionExecutor.ContextACL_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, LOG, 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_MINCONF_PREFIX, ERROR_OTHER, MAX_RETRIES, requiresNNJT, RETRY_INTERVAL| Constructor and Description |
|---|
PigActionExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
getCaptureOutput(org.apache.oozie.client.WorkflowAction action) |
protected String |
getDefaultShareLibName(org.jdom.Element actionXml)
Return the sharelib postfix for the action.
|
List<Class> |
getLauncherClasses() |
protected String |
getLauncherMain(org.apache.hadoop.conf.Configuration launcherConf,
org.jdom.Element actionXml) |
protected String |
getScriptName() |
static void |
setPigScript(org.apache.hadoop.conf.Configuration conf,
String script,
String[] params,
String[] args) |
setupLauncherConfaddActionLibs, addShareLib, addSystemShareLibForAction, check, createBaseHadoopConf, createJobClient, end, extractHeapSizeMB, getActionCredentialsProperties, getActionData, getCommonLauncherClasses, getCredProperties, getMaxExternalStatsSize, getRunningJob, getShareLibNames, initActionType, isCompleted, kill, parseJobXmlAndConfiguration, prepareActionDir, setActionCompletionData, setCredentialPropertyToActionConf, setCredentialTokens, setLibFilesArchives, start, submitLauncherconvertException, disableInit, enableInit, getActionDir, getActionDirPath, getActionSignal, getMaxRetries, getOozieConf, getOozieRuntimeDir, getOozieSystemId, getRetryInterval, getType, registerError, resetInitInfo, setMaxRetries, setRetryIntervalpublic PigActionExecutor()
public List<Class> getLauncherClasses()
getLauncherClasses in class ScriptLanguageActionExecutorprotected String getLauncherMain(org.apache.hadoop.conf.Configuration launcherConf, org.jdom.Element actionXml)
getLauncherMain in class JavaActionExecutorpublic static void setPigScript(org.apache.hadoop.conf.Configuration conf, String script, String[] params, String[] args)
protected boolean getCaptureOutput(org.apache.oozie.client.WorkflowAction action) throws org.jdom.JDOMException
getCaptureOutput in class JavaActionExecutororg.jdom.JDOMExceptionprotected String getDefaultShareLibName(org.jdom.Element actionXml)
getDefaultShareLibName in class JavaActionExecutoractionXml - pig.protected String getScriptName()
getScriptName in class ScriptLanguageActionExecutorCopyright © 2014 Apache Software Foundation. All Rights Reserved.