public class TezDAGStats extends JobStats
JobStats.JobState
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DAG_COUNTER_GROUP |
static java.lang.String |
FAILURE_HEADER |
static java.lang.String |
FS_COUNTER_GROUP |
static java.lang.String |
PIG_COUNTER_GROUP |
static java.lang.String |
SUCCESS_HEADER |
static java.lang.String |
TASK_COUNTER_GROUP |
ALIAS, ALIAS_LOCATION, conf, FEATURE, hdfsBytesRead, hdfsBytesWritten, inputs, outputs, state
Modifier | Constructor and Description |
---|---|
protected |
TezDAGStats(java.lang.String name,
PigStats.JobGraph plan,
java.util.Map<java.lang.String,TezVertexStats> tezVertexStatsMap,
java.lang.StringBuilder tezDAGPlan) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
void |
accumulateStats(TezJob tezJob)
Updates the statistics after a DAG is finished.
|
long |
getAvgMapTime()
Deprecated.
|
long |
getAvgREduceTime()
Deprecated.
|
java.lang.String |
getDisplayString() |
org.apache.hadoop.mapred.Counters |
getHadoopCounters()
Deprecated.
|
java.lang.String |
getJobId() |
long |
getMapInputRecords()
Deprecated.
|
long |
getMapOutputRecords()
Deprecated.
|
long |
getMaxMapTime()
Deprecated.
|
long |
getMaxReduceTime()
Deprecated.
|
long |
getMinMapTime()
Deprecated.
|
long |
getMinReduceTime()
Deprecated.
|
java.util.Map<java.lang.String,java.lang.Long> |
getMultiInputCounters()
Deprecated.
|
java.util.Map<java.lang.String,java.lang.Long> |
getMultiStoreCounters()
Deprecated.
|
int |
getNumberMaps()
Deprecated.
|
int |
getNumberReduces()
Deprecated.
|
long |
getProactiveSpillCountObjects() |
long |
getProactiveSpillCountRecs() |
long |
getReduceInputRecords()
Deprecated.
|
long |
getReduceOutputRecords()
Deprecated.
|
long |
getSMMSpillCount() |
TezVertexStats |
getVertexStats(java.lang.String vertexName) |
void |
setJobId(java.lang.String appId) |
calculateMedianValue, getAlias, getAliasLocation, getBytesWritten, getErrorMessage, getException, getFeature, getHdfsBytesRead, getHdfsBytesWritten, getInputs, getOutputs, getOutputSize, getRecordWrittern, getState, isEqual, isIndexer, isSampler, isSuccessful, setBackendException, setConf, setErrorMsg, setSuccessful
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan
public static final java.lang.String DAG_COUNTER_GROUP
public static final java.lang.String FS_COUNTER_GROUP
public static final java.lang.String TASK_COUNTER_GROUP
public static final java.lang.String PIG_COUNTER_GROUP
public static final java.lang.String SUCCESS_HEADER
public static final java.lang.String FAILURE_HEADER
protected TezDAGStats(java.lang.String name, PigStats.JobGraph plan, java.util.Map<java.lang.String,TezVertexStats> tezVertexStatsMap, java.lang.StringBuilder tezDAGPlan)
public TezVertexStats getVertexStats(java.lang.String vertexName)
public void accumulateStats(TezJob tezJob) throws java.io.IOException
java.io.IOException
public void setJobId(java.lang.String appId)
public void accept(PlanVisitor v) throws FrontendException
Operator
accept
in class JobStats
v
- Visitor to accept.FrontendException
public java.lang.String getDisplayString()
getDisplayString
in class JobStats
@Deprecated public int getNumberMaps()
getNumberMaps
in class JobStats
@Deprecated public int getNumberReduces()
getNumberReduces
in class JobStats
@Deprecated public long getMaxMapTime()
getMaxMapTime
in class JobStats
@Deprecated public long getMinMapTime()
getMinMapTime
in class JobStats
@Deprecated public long getAvgMapTime()
getAvgMapTime
in class JobStats
@Deprecated public long getMaxReduceTime()
getMaxReduceTime
in class JobStats
@Deprecated public long getMinReduceTime()
getMinReduceTime
in class JobStats
@Deprecated public long getAvgREduceTime()
getAvgREduceTime
in class JobStats
@Deprecated public long getMapInputRecords()
getMapInputRecords
in class JobStats
@Deprecated public long getMapOutputRecords()
getMapOutputRecords
in class JobStats
@Deprecated public long getReduceInputRecords()
getReduceInputRecords
in class JobStats
@Deprecated 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
@Deprecated public org.apache.hadoop.mapred.Counters getHadoopCounters()
getHadoopCounters
in class JobStats
@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getMultiStoreCounters()
getMultiStoreCounters
in class JobStats
@Deprecated public java.util.Map<java.lang.String,java.lang.Long> getMultiInputCounters()
getMultiInputCounters
in class JobStats
Copyright © 2007-2017 The Apache Software Foundation