public class HiveActionExecutor extends ScriptLanguageActionExecutor
ActionExecutor.Context, ActionExecutor.RETRYPOLICYACL_MODIFY_JOB, ACL_VIEW_JOB, CONF_HADOOP_YARN_UBER_MODE, HADOOP_CHILD_JAVA_ENV, HADOOP_CHILD_JAVA_OPTS, HADOOP_JOB_CLASSLOADER, HADOOP_JOB_TRACKER, HADOOP_JOB_TRACKER_2, HADOOP_MAP_JAVA_ENV, HADOOP_MAP_JAVA_OPTS, HADOOP_MAP_MEMORY_MB, HADOOP_NAME_NODE, HADOOP_REDUCE_JAVA_OPTS, HADOOP_USER_CLASSPATH_FIRST, HADOOP_YARN_RM, HADOOP_YARN_UBER_MODE, LOG, MAX_EXTERNAL_STATS_SIZE, OOZIE_COMMON_LIBDIR, OOZIE_CREDENTIALS_SKIP, YARN_AM_COMMAND_OPTS, YARN_AM_ENV, YARN_AM_RESOURCE_MB, YARN_MEMORY_MB_MINACTION_RETRY_INTERVAL, ACTION_RETRY_POLICY, CONF_PREFIX, ERROR_OTHER, MAX_RETRIES, RETRY_INTERVAL| Constructor and Description |
|---|
HiveActionExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getActionData(org.apache.hadoop.fs.FileSystem actionFs,
org.apache.hadoop.mapred.RunningJob runningJob,
org.apache.oozie.client.WorkflowAction action,
ActionExecutor.Context context)
Get the output data of an action.
|
protected boolean |
getCaptureOutput(org.apache.oozie.client.WorkflowAction action) |
protected String |
getDefaultShareLibName(org.jdom.Element actionXml)
Return the sharelib name for the action.
|
List<Class> |
getLauncherClasses() |
protected String |
getLauncherMain(org.apache.hadoop.conf.Configuration launcherConf,
org.jdom.Element actionXml) |
protected String |
getScriptName() |
protected boolean |
shouldAddScriptToCache() |
addScriptToCache, setupLauncherConfaddActionLibs, addShareLib, addSystemShareLibForAction, check, createBaseHadoopConf, createJobClient, end, extractHeapSizeMB, getActionCredentialsProperties, getActualExternalId, getCommonLauncherClasses, getCredProperties, getMaxExternalStatsSize, getRunningJob, getShareLibNames, initActionType, isCompleted, kill, parseJobXmlAndConfiguration, prepareActionDir, readExternalChildIDs, requiresNameNodeJobTracker, setActionCompletionData, setCredentialPropertyToActionConf, setCredentialTokens, setLibFilesArchives, start, submitLauncher, supportsConfigurationJobXMLconvertException, disableInit, enableInit, getActionDir, getActionDirPath, getActionSignal, getMaxRetries, getOozieConf, getOozieRuntimeDir, getOozieSystemId, getRetryInterval, getRetryPolicy, getType, registerError, resetInitInfo, setMaxRetries, setRetryInterval, setRetryPolicypublic HiveActionExecutor()
public List<Class> getLauncherClasses()
getLauncherClasses in class ScriptLanguageActionExecutorprotected boolean shouldAddScriptToCache()
shouldAddScriptToCache in class ScriptLanguageActionExecutorprotected String getLauncherMain(org.apache.hadoop.conf.Configuration launcherConf, org.jdom.Element actionXml)
getLauncherMain in class JavaActionExecutorprotected boolean getCaptureOutput(org.apache.oozie.client.WorkflowAction action) throws org.jdom.JDOMException
getCaptureOutput in class JavaActionExecutororg.jdom.JDOMExceptionprotected void getActionData(org.apache.hadoop.fs.FileSystem actionFs, org.apache.hadoop.mapred.RunningJob runningJob, org.apache.oozie.client.WorkflowAction action, ActionExecutor.Context context) throws HadoopAccessorException, org.jdom.JDOMException, IOException, URISyntaxException
JavaActionExecutorgetActionData in class JavaActionExecutoractionFs - the FileSystem objectrunningJob - the runningJobaction - the Workflow actioncontext - executor contextHadoopAccessorExceptionorg.jdom.JDOMExceptionIOExceptionURISyntaxExceptionprotected String getDefaultShareLibName(org.jdom.Element actionXml)
getDefaultShareLibName in class JavaActionExecutoractionXml - hive.protected String getScriptName()
getScriptName in class ScriptLanguageActionExecutorCopyright © 2016 Apache Software Foundation. All Rights Reserved.