org.apache.hadoop.vaidya.statistics.job
Interface JobStatisticsInterface
- All Known Implementing Classes:
- JobStatistics
public interface JobStatisticsInterface
getJobConf
JobConf getJobConf()
- Get job configuration (job.xml) values
getLongValue
long getLongValue(Enum key)
getDoubleValue
double getDoubleValue(Enum key)
getStringValue
String getStringValue(Enum key)
setValue
void setValue(Enum key,
long value)
setValue
void setValue(Enum key,
double valye)
setValue
void setValue(Enum key,
String value)
getMapTaskList
ArrayList<MapTaskStatistics> getMapTaskList(Enum mapTaskSortKey,
JobStatisticsInterface.KeyDataType dataType)
- Parameters:
mapTaskSortKey
- : Specific counter key used for sorting the task listdataType
- : indicates the data type of the counter key used for sorting
If sort key is null then by default map tasks are sorted using map task ids.
- Returns:
- mapTaskList : ArrayList of MapTaskStatistics
getReduceTaskList
ArrayList<ReduceTaskStatistics> getReduceTaskList(Enum reduceTaskSortKey,
JobStatisticsInterface.KeyDataType dataType)
- Parameters:
reduceTaskSortKey
- : Specific counter key used for sorting the task listdataType
- : indicates the data type of the counter key used for sorting
If sort key is null then, by default reduce tasks are sorted using task ids.
- Returns:
- reduceTaskList : ArrayList of ReduceTaskStatistics
printJobExecutionStatistics
void printJobExecutionStatistics()
Copyright © 2009 The Apache Software Foundation