|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.action.hadoop.LauncherMapperHelper
public class LauncherMapperHelper
Constructor Summary | |
---|---|
LauncherMapperHelper()
|
Method Summary | |
---|---|
static org.apache.hadoop.fs.Path |
getActionStatsDataPath(org.apache.hadoop.fs.Path actionDir)
Get the location of stats file |
static org.apache.hadoop.fs.Path |
getErrorPath(org.apache.hadoop.fs.Path actionDir)
|
static org.apache.hadoop.fs.Path |
getExternalChildIDsDataPath(org.apache.hadoop.fs.Path actionDir)
Get the location of external Child IDs file |
static org.apache.hadoop.fs.Path |
getIdSwapPath(org.apache.hadoop.fs.Path actionDir)
|
static org.apache.hadoop.fs.Path |
getOutputDataPath(org.apache.hadoop.fs.Path actionDir)
|
static String |
getRecoveryId(org.apache.hadoop.conf.Configuration launcherConf,
org.apache.hadoop.fs.Path actionDir,
String recoveryId)
|
static boolean |
hasIdSwap(org.apache.hadoop.mapred.RunningJob runningJob)
|
static boolean |
hasIdSwap(org.apache.hadoop.mapred.RunningJob runningJob,
String user,
String group,
org.apache.hadoop.fs.Path actionDir)
|
static boolean |
hasOutputData(org.apache.hadoop.mapred.RunningJob runningJob)
|
static boolean |
hasStatsData(org.apache.hadoop.mapred.RunningJob runningJob)
Check whether runningJob has stats data or not |
static boolean |
isMainDone(org.apache.hadoop.mapred.RunningJob runningJob)
|
static boolean |
isMainSuccessful(org.apache.hadoop.mapred.RunningJob runningJob)
|
static void |
setupLauncherInfo(org.apache.hadoop.mapred.JobConf launcherConf,
String jobId,
String actionId,
org.apache.hadoop.fs.Path actionDir,
String recoveryId,
org.apache.hadoop.conf.Configuration actionConf,
String prepareXML)
|
static void |
setupLauncherURIHandlerConf(org.apache.hadoop.conf.Configuration launcherConf)
|
static void |
setupMainArguments(org.apache.hadoop.conf.Configuration launcherConf,
String[] args)
|
static void |
setupMainClass(org.apache.hadoop.conf.Configuration launcherConf,
String javaMainClass)
|
static void |
setupMaxExternalStatsSize(org.apache.hadoop.conf.Configuration launcherConf,
int maxStatsData)
Set the maximum value of stats data |
static void |
setupMaxOutputData(org.apache.hadoop.conf.Configuration launcherConf,
int maxOutputData)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LauncherMapperHelper()
Method Detail |
---|
public static String getRecoveryId(org.apache.hadoop.conf.Configuration launcherConf, org.apache.hadoop.fs.Path actionDir, String recoveryId) throws HadoopAccessorException, IOException
HadoopAccessorException
IOException
public static void setupMainClass(org.apache.hadoop.conf.Configuration launcherConf, String javaMainClass)
public static void setupLauncherURIHandlerConf(org.apache.hadoop.conf.Configuration launcherConf)
public static void setupMainArguments(org.apache.hadoop.conf.Configuration launcherConf, String[] args)
public static void setupMaxOutputData(org.apache.hadoop.conf.Configuration launcherConf, int maxOutputData)
public static void setupMaxExternalStatsSize(org.apache.hadoop.conf.Configuration launcherConf, int maxStatsData)
launcherConf
- the oozie launcher configurationmaxStatsData
- the maximum allowed size of stats datapublic static void setupLauncherInfo(org.apache.hadoop.mapred.JobConf launcherConf, String jobId, String actionId, org.apache.hadoop.fs.Path actionDir, String recoveryId, org.apache.hadoop.conf.Configuration actionConf, String prepareXML) throws IOException, HadoopAccessorException
IOException
HadoopAccessorException
public static boolean isMainDone(org.apache.hadoop.mapred.RunningJob runningJob) throws IOException
IOException
public static boolean isMainSuccessful(org.apache.hadoop.mapred.RunningJob runningJob) throws IOException
IOException
public static boolean hasOutputData(org.apache.hadoop.mapred.RunningJob runningJob) throws IOException
IOException
public static boolean hasStatsData(org.apache.hadoop.mapred.RunningJob runningJob) throws IOException
runningJob
- the runningJob
IOException
public static boolean hasIdSwap(org.apache.hadoop.mapred.RunningJob runningJob) throws IOException
IOException
public static boolean hasIdSwap(org.apache.hadoop.mapred.RunningJob runningJob, String user, String group, org.apache.hadoop.fs.Path actionDir) throws IOException, HadoopAccessorException
IOException
HadoopAccessorException
public static org.apache.hadoop.fs.Path getOutputDataPath(org.apache.hadoop.fs.Path actionDir)
public static org.apache.hadoop.fs.Path getActionStatsDataPath(org.apache.hadoop.fs.Path actionDir)
actionDir
- the action directory
public static org.apache.hadoop.fs.Path getExternalChildIDsDataPath(org.apache.hadoop.fs.Path actionDir)
actionDir
- the action directory
public static org.apache.hadoop.fs.Path getErrorPath(org.apache.hadoop.fs.Path actionDir)
public static org.apache.hadoop.fs.Path getIdSwapPath(org.apache.hadoop.fs.Path actionDir)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |