This project has retired. For details please refer to its Attic page.
CrunchJobHooks.PrepareHook (Apache Crunch 0.9.0 API)

org.apache.crunch.impl.mr.exec
Class CrunchJobHooks.PrepareHook

java.lang.Object
  extended by org.apache.crunch.impl.mr.exec.CrunchJobHooks.PrepareHook
All Implemented Interfaces:
org.apache.crunch.hadoop.mapreduce.lib.jobcontrol.CrunchControlledJob.Hook
Enclosing class:
CrunchJobHooks

public static final class CrunchJobHooks.PrepareHook
extends Object
implements org.apache.crunch.hadoop.mapreduce.lib.jobcontrol.CrunchControlledJob.Hook

Creates missing input directories before job is submitted.


Constructor Summary
CrunchJobHooks.PrepareHook(org.apache.hadoop.mapreduce.Job job)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrunchJobHooks.PrepareHook

public CrunchJobHooks.PrepareHook(org.apache.hadoop.mapreduce.Job job)
Method Detail

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.