This project has retired. For details please refer to its
Attic page.
CrunchJobHooks.CompletionHook (Apache Crunch 0.9.0 API)
org.apache.crunch.impl.mr.exec
Class CrunchJobHooks.CompletionHook
java.lang.Object
org.apache.crunch.impl.mr.exec.CrunchJobHooks.CompletionHook
- All Implemented Interfaces:
- org.apache.crunch.hadoop.mapreduce.lib.jobcontrol.CrunchControlledJob.Hook
- Enclosing class:
- CrunchJobHooks
public static final class CrunchJobHooks.CompletionHook
- extends Object
- implements org.apache.crunch.hadoop.mapreduce.lib.jobcontrol.CrunchControlledJob.Hook
Moving output files produced by the MapReduce job to specified directories.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrunchJobHooks.CompletionHook
public CrunchJobHooks.CompletionHook(org.apache.hadoop.mapreduce.Job job,
org.apache.hadoop.fs.Path workingPath,
Map<Integer,PathTarget> multiPaths,
boolean mapOnlyJob)
run
public void run()
throws IOException
- Specified by:
run
in interface org.apache.crunch.hadoop.mapreduce.lib.jobcontrol.CrunchControlledJob.Hook
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.