org.apache.oozie.action.hadoop
Class SqoopActionExecutor

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.SqoopActionExecutor

public class SqoopActionExecutor
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, log, MAX_EXTERNAL_STATS_SIZE, MAX_EXTERNAL_STATS_SIZE_DEFAULT, OOZIE_COMMON_LIBDIR
 
Fields inherited from class org.apache.oozie.action.ActionExecutor
CONF_PREFIX, ERROR_OTHER, MAX_RETRIES, requiresNNJT, RETRY_INTERVAL
 
Constructor Summary
SqoopActionExecutor()
           
 
Method Summary
protected  boolean getCaptureOutput(org.apache.oozie.client.WorkflowAction action)
           
protected  String getDefaultShareLibName(org.jdom.Element actionXml)
          Return the sharelib name for the action.
protected  List<Class> getLauncherClasses()
           
protected  String getLauncherMain(org.apache.hadoop.conf.Configuration launcherConf, org.jdom.Element actionXml)
           
 
Methods inherited from class org.apache.oozie.action.hadoop.JavaActionExecutor
addActionLibs, addShareLib, check, createBaseHadoopConf, createJobClient, end, getActionCredentialsProperties, getActionData, getCredProperties, getLauncherJarName, getMaxExternalStatsSize, getShareLibName, initActionType, isCompleted, kill, parseJobXmlAndConfiguration, prepareActionDir, 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

SqoopActionExecutor

public SqoopActionExecutor()
Method Detail

getLauncherClasses

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

getLauncherMain

protected String getLauncherMain(org.apache.hadoop.conf.Configuration launcherConf,
                                 org.jdom.Element actionXml)
Overrides:
getLauncherMain in class JavaActionExecutor

getCaptureOutput

protected boolean getCaptureOutput(org.apache.oozie.client.WorkflowAction action)
                            throws org.jdom.JDOMException
Overrides:
getCaptureOutput in class JavaActionExecutor
Throws:
org.jdom.JDOMException

getDefaultShareLibName

protected String getDefaultShareLibName(org.jdom.Element actionXml)
Return the sharelib name for the action.

Overrides:
getDefaultShareLibName in class JavaActionExecutor
Parameters:
actionXml -
Returns:
returns sqoop.


Copyright © 2012 Apache Software Foundation. All Rights Reserved.