public interface HadoopJobInfo
| Modifier and Type | Method and Description |
|---|---|
HadoopJobEx |
createJob(Class<? extends HadoopJobEx> 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().int reducers()
String jobName()
String user()
HadoopJobEx createJob(Class<? extends HadoopJobEx> jobCls, HadoopJobId jobId, IgniteLogger log, @Nullable String[] libNames, HadoopHelper helper) throws IgniteCheckedException
HadoopJobInfo is reusable for multiple jobs while HadoopJobEx 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.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017