public interface HadoopJobInfo extends Serializable
| Modifier and Type | Method and Description |
|---|---|
HadoopJob |
createJob(HadoopJobId jobId,
IgniteLogger log)
Creates new job instance for the given ID.
|
boolean |
hasCombiner()
Checks whether job has combiner.
|
boolean |
hasReducer()
Checks whether job has reducer.
|
String |
jobName()
Gets job name.
|
String |
property(String name)
Gets optional configuration property for the job.
|
int |
reducers() |
String |
user()
Gets user name.
|
@Nullable String property(String name)
name - Property name.null if none.boolean hasCombiner()
true If job has combiner.boolean hasReducer()
HadoopMapReducePlan.reducers().HadoopJob createJob(HadoopJobId jobId, IgniteLogger log) throws IgniteCheckedException
HadoopJobInfo is reusable for multiple jobs while HadoopJob is for one job execution.
This method will be called once for the same ID on one node, though it can be called on the same host
multiple times from different processes (in case of multiple nodes on the same host or external execution).jobId - Job ID.log - Logger.IgniteCheckedException - If failed.int reducers()
String jobName()
String user()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015