|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.tap.hadoop.util.Hadoop18TapUtil
public class Hadoop18TapUtil
Field Summary | |
---|---|
static String |
TEMPORARY_PATH
The Hadoop temporary path used to prevent collisions |
Constructor Summary | |
---|---|
Hadoop18TapUtil()
|
Method Summary | |
---|---|
static void |
cleanupJob(JobConf conf)
May only be called once. |
static void |
cleanupTapMetaData(JobConf conf,
Tap tap)
Called from flow step to remove temp dirs |
static void |
commitTask(JobConf conf)
copies all files from the taskoutputpath to the outputpath |
static void |
makeTempPath(JobConf conf)
|
static boolean |
needsTaskCommit(JobConf conf)
|
static void |
setupJob(JobConf conf)
should only be called if not in a Flow |
static void |
setupTask(JobConf conf)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TEMPORARY_PATH
Constructor Detail |
---|
public Hadoop18TapUtil()
Method Detail |
---|
public static void setupJob(JobConf conf) throws IOException
conf
-
IOException
public static void setupTask(JobConf conf) throws IOException
IOException
public static boolean needsTaskCommit(JobConf conf) throws IOException
IOException
public static void commitTask(JobConf conf) throws IOException
conf
-
IOException
public static void cleanupTapMetaData(JobConf conf, Tap tap) throws IOException
conf
-
IOException
public static void cleanupJob(JobConf conf) throws IOException
conf
-
IOException
public static void makeTempPath(JobConf conf) throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |