Class MapReduceEngineTaskConfigProvider
java.lang.Object
com.linkedin.venice.hadoop.mapreduce.engine.MapReduceEngineTaskConfigProvider
- All Implemented Interfaces:
EngineTaskConfigProvider
An implementation of
EngineTaskConfigProvider
to get information about a running job on the MapReduce engine.-
Field Details
-
MAPRED_TASK_ID_PROP_NAME
- See Also:
-
MAPREDUCE_JOB_NAME_PROP_NAME
- See Also:
-
-
Constructor Details
-
MapReduceEngineTaskConfigProvider
public MapReduceEngineTaskConfigProvider(org.apache.hadoop.mapred.JobConf jobConf)
-
-
Method Details
-
getJobName
- Specified by:
getJobName
in interfaceEngineTaskConfigProvider
- Returns:
- The name of the compute job. This must be the same for all tasks of the same job.
-
getTaskId
public int getTaskId()- Specified by:
getTaskId
in interfaceEngineTaskConfigProvider
- Returns:
- The ID of the current task. This ID number is 0-based.
-
getJobProps
- Specified by:
getJobProps
in interfaceEngineTaskConfigProvider
- Returns:
- The properties of the compute job.
-