@InterfaceAudience.Public @InterfaceStability.Evolving public final class MRJobStats extends JobStats
JobStats.JobState
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FAILURE_HEADER |
static java.lang.String |
SUCCESS_HEADER |
ALIAS, ALIAS_LOCATION, conf, FEATURE, hdfsBytesRead, hdfsBytesWritten, inputs, outputs, state
Modifier and Type | Method and Description |
---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
java.lang.String |
getAlias() |
java.lang.String |
getAliasLocation() |
long |
getAvgMapTime() |
long |
getAvgREduceTime() |
static org.apache.hadoop.mapred.Counters |
getCounters(org.apache.hadoop.mapred.jobcontrol.Job job) |
java.lang.String |
getDisplayString() |
java.lang.String |
getFeature() |
org.apache.hadoop.mapred.Counters |
getHadoopCounters() |
java.lang.String |
getJobId() |
long |
getMapInputRecords() |
long |
getMapOutputRecords() |
long |
getMaxMapTime() |
long |
getMaxReduceTime() |
long |
getMinMapTime() |
long |
getMinReduceTime() |
java.util.Map<java.lang.String,java.lang.Long> |
getMultiInputCounters() |
java.util.Map<java.lang.String,java.lang.Long> |
getMultiStoreCounters() |
int |
getNumberMaps() |
int |
getNumberReduces() |
long |
getProactiveSpillCountObjects() |
long |
getProactiveSpillCountRecs() |
long |
getReduceInputRecords() |
long |
getReduceOutputRecords() |
long |
getSMMSpillCount() |
static java.util.Iterator<org.apache.hadoop.mapreduce.TaskReport> |
getTaskReports(org.apache.hadoop.mapred.jobcontrol.Job job,
org.apache.hadoop.mapreduce.TaskType type) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
calculateMedianValue, getBytesWritten, getErrorMessage, getException, getHdfsBytesRead, getHdfsBytesWritten, getInputs, getOutputs, getOutputSize, getRecordWrittern, getState, isEqual, isIndexer, isSampler, isSuccessful, setBackendException, setErrorMsg, setSuccessful
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan
public static final java.lang.String SUCCESS_HEADER
public static final java.lang.String FAILURE_HEADER
public int getNumberMaps()
getNumberMaps
in class JobStats
public int getNumberReduces()
getNumberReduces
in class JobStats
public long getMaxMapTime()
getMaxMapTime
in class JobStats
public long getMinMapTime()
getMinMapTime
in class JobStats
public long getAvgMapTime()
getAvgMapTime
in class JobStats
public long getMaxReduceTime()
getMaxReduceTime
in class JobStats
public long getMinReduceTime()
getMinReduceTime
in class JobStats
public long getAvgREduceTime()
getAvgREduceTime
in class JobStats
public long getMapInputRecords()
getMapInputRecords
in class JobStats
public long getMapOutputRecords()
getMapOutputRecords
in class JobStats
public long getReduceInputRecords()
getReduceInputRecords
in class JobStats
public long getReduceOutputRecords()
getReduceOutputRecords
in class JobStats
public long getSMMSpillCount()
getSMMSpillCount
in class JobStats
public long getProactiveSpillCountObjects()
getProactiveSpillCountObjects
in class JobStats
public long getProactiveSpillCountRecs()
getProactiveSpillCountRecs
in class JobStats
public org.apache.hadoop.mapred.Counters getHadoopCounters()
getHadoopCounters
in class JobStats
public java.util.Map<java.lang.String,java.lang.Long> getMultiStoreCounters()
getMultiStoreCounters
in class JobStats
public java.util.Map<java.lang.String,java.lang.Long> getMultiInputCounters()
getMultiInputCounters
in class JobStats
public java.lang.String getAliasLocation()
getAliasLocation
in class JobStats
public java.lang.String getFeature()
getFeature
in class JobStats
public void accept(PlanVisitor v) throws FrontendException
Operator
accept
in class JobStats
v
- Visitor to accept.FrontendException
public void setConf(org.apache.hadoop.conf.Configuration conf)
public java.lang.String getDisplayString()
getDisplayString
in class JobStats
public static java.util.Iterator<org.apache.hadoop.mapreduce.TaskReport> getTaskReports(org.apache.hadoop.mapred.jobcontrol.Job job, org.apache.hadoop.mapreduce.TaskType type) throws java.io.IOException
java.io.IOException
public static org.apache.hadoop.mapred.Counters getCounters(org.apache.hadoop.mapred.jobcontrol.Job job) throws java.io.IOException
java.io.IOException
Copyright © 2007-2017 The Apache Software Foundation