org.apache.oozie.action.hadoop
Class LauncherMain
java.lang.Object
org.apache.oozie.action.hadoop.LauncherMain
- Direct Known Subclasses:
- HiveMain, MapReduceMain, PigMain, PigMainWithOldAPI, ShellMain, SqoopMain
public abstract class LauncherMain
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HADOOP_JOBS
public static final String HADOOP_JOBS
- See Also:
- Constant Field Values
LauncherMain
public LauncherMain()
run
protected static void run(Class<? extends LauncherMain> klass,
String[] args)
throws Exception
- Throws:
Exception
getHadoopJobIds
public static Properties getHadoopJobIds(String logFile,
Pattern[] patterns)
throws IOException
- Throws:
IOException
run
protected abstract void run(String[] args)
throws Exception
- Throws:
Exception
logMasking
protected static void logMasking(String header,
Collection<String> maskSet,
Iterable conf)
throws IOException
- Write to STDOUT (the task log) the Configuration/Properties values. All properties that contain
any of the strings in the maskSet will be masked when writting it to STDOUT.
- Parameters:
header
- message for the beginning of the Configuration/Properties dump.maskSet
- set with substrings of property names to mask.conf
- Configuration/Properties object to dump to STDOUT
- Throws:
IOException
- thrown if an IO error ocurred.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.