public interface HadoopJobInfo extends Serializable
| Modifier and Type | Method and Description |
|---|---|
HadoopJob |
createJob(Class<? extends HadoopJob> jobCls,
HadoopJobId jobId,
IgniteLogger log,
String[] libNames,
HadoopHelper helper)
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(Class<? extends HadoopJob> jobCls, HadoopJobId jobId, IgniteLogger log, @Nullable String[] libNames, HadoopHelper helper) 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).jobCls - The job class.jobId - Job ID.log - Logger.libNames - Optional additional native library names.helper - HadoopHelper.IgniteCheckedException - If failed.int reducers()
String jobName()
String user()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017