org.apache.oozie.action.hadoop
Class DistcpActionExecutor

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

public class DistcpActionExecutor
extends JavaActionExecutor


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.oozie.action.ActionExecutor
ActionExecutor.Context
 
Field Summary
static String CLASS_NAMES
           
static String CONF_OOZIE_DISTCP_ACTION_MAIN_CLASS
           
static String DISTCP_TYPE
           
 
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
DistcpActionExecutor()
           
 
Method Summary
static String getClassNamebyType(String type)
          This function returns the Action classes names from the configuration
protected  String getDefaultShareLibName(org.jdom.Element actionXml)
          Return the sharelib name for the action.
protected  String getLauncherMain(org.apache.hadoop.conf.Configuration launcherConf, org.jdom.Element actionXml)
           
static String Trim(String str)
          To trim string
 
Methods inherited from class org.apache.oozie.action.hadoop.JavaActionExecutor
addActionLibs, addShareLib, check, createBaseHadoopConf, createJobClient, createLauncherJar, end, getActionCredentialsProperties, getActionData, getCaptureOutput, getCredProperties, getLauncherClasses, getLauncherJarName, 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
 

Field Detail

CONF_OOZIE_DISTCP_ACTION_MAIN_CLASS

public static final String CONF_OOZIE_DISTCP_ACTION_MAIN_CLASS
See Also:
Constant Field Values

CLASS_NAMES

public static final String CLASS_NAMES
See Also:
Constant Field Values

DISTCP_TYPE

public static final String DISTCP_TYPE
See Also:
Constant Field Values
Constructor Detail

DistcpActionExecutor

public DistcpActionExecutor()
Method Detail

getLauncherMain

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

getClassNamebyType

public static String getClassNamebyType(String type)
This function returns the Action classes names from the configuration

Parameters:
type - This is type of the action classes
Returns:
Name of the class from the configuration

Trim

public static String Trim(String str)
To trim string

Parameters:
str -
Returns:
trim string

getDefaultShareLibName

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

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


Copyright © 2013 Apache Software Foundation. All Rights Reserved.