|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.flow.Flow cascading.flow.MapReduceFlow
public class MapReduceFlow
Class MapReduceFlow is a Flow
subclass that supports custom MapReduce jobs pre-configured via the JobConf
object.
Cascade
scheduler. If
other Flow instances in the Cascade share resources with this Flow instance, all participants will be scheduled
according to their dependencies (topologically).
Set the parameter deleteSinkOnInit
to true
if the outputPath in the jobConf should be deleted before executing the MapReduce job.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class cascading.flow.Flow |
---|
Flow.FlowHolder |
Field Summary |
---|
Fields inherited from class cascading.flow.Flow |
---|
sources, stopJobsOnExit |
Constructor Summary | |
---|---|
MapReduceFlow(JobConf jobConf)
Constructor MapReduceFlow creates a new MapReduceFlow instance. |
|
MapReduceFlow(JobConf jobConf,
boolean deleteSinkOnInit)
Constructor MapReduceFlow creates a new MapReduceFlow instance. |
|
MapReduceFlow(String name,
JobConf jobConf)
Constructor MapReduceFlow creates a new MapReduceFlow instance. |
|
MapReduceFlow(String name,
JobConf jobConf,
boolean deleteSinkOnInit)
Constructor MapReduceFlow creates a new MapReduceFlow instance. |
|
MapReduceFlow(String name,
JobConf jobConf,
boolean deleteSinkOnInit,
boolean stopJobsOnExit)
Constructor MapReduceFlow creates a new MapReduceFlow instance. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@ConstructorProperties(value="jobConf") public MapReduceFlow(JobConf jobConf)
jobConf
- of type JobConf@ConstructorProperties(value={"jobConf","deleteSinkOnInit"}) public MapReduceFlow(JobConf jobConf, boolean deleteSinkOnInit)
jobConf
- of type JobConfdeleteSinkOnInit
- of type boolean@ConstructorProperties(value={"name","jobConf"}) public MapReduceFlow(String name, JobConf jobConf)
name
- of type StringjobConf
- of type JobConf@ConstructorProperties(value={"name","jobConf","deleteSinkOnInit"}) public MapReduceFlow(String name, JobConf jobConf, boolean deleteSinkOnInit)
name
- of type StringjobConf
- of type JobConfdeleteSinkOnInit
- of type boolean@ConstructorProperties(value={"name","jobConf","deleteSinkOnInit","stopJobsOnExit"}) public MapReduceFlow(String name, JobConf jobConf, boolean deleteSinkOnInit, boolean stopJobsOnExit)
name
- of type StringjobConf
- of type JobConfdeleteSinkOnInit
- of type booleanstopJobsOnExit
- of type boolean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |