@FunctionalInterface public interface JobRunner
Modifier and Type | Method and Description |
---|---|
boolean |
run(org.apache.hadoop.mapreduce.Job job)
Runs the target job.
|
boolean run(org.apache.hadoop.mapreduce.Job job) throws IOException, InterruptedException, ClassNotFoundException
job
- the configured job objecttrue
if the job was successfully completed, or false
otherwiseIOException
- if failed to execute the job by I/O errorInterruptedException
- if interrupted while executing the jobClassNotFoundException
- if failed to load related classesCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.