public class TezDAGStats extends JobStats
JobStats.JobState| Modifier and Type | Field and Description |
|---|---|
static String |
DAG_COUNTER_GROUP |
static String |
FAILURE_HEADER |
static String |
FS_COUNTER_GROUP |
static String |
PIG_COUNTER_GROUP |
static String |
SUCCESS_HEADER |
static String |
TASK_COUNTER_GROUP |
ALIAS, ALIAS_LOCATION, conf, FEATURE, hdfsBytesRead, hdfsBytesWritten, inputs, outputs, state| Modifier | Constructor and Description |
|---|---|
protected |
TezDAGStats(String name,
PigStats.JobGraph plan,
Map<String,TezVertexStats> tezVertexStatsMap,
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.
|
String |
getDisplayString() |
org.apache.hadoop.mapred.Counters |
getHadoopCounters()
Deprecated.
|
String |
getJobId() |
long |
getMapInputRecords()
Deprecated.
|
long |
getMapOutputRecords()
Deprecated.
|
long |
getMaxMapTime()
Deprecated.
|
long |
getMaxReduceTime()
Deprecated.
|
long |
getMinMapTime()
Deprecated.
|
long |
getMinReduceTime()
Deprecated.
|
Map<String,Long> |
getMultiInputCounters()
Deprecated.
|
Map<String,Long> |
getMultiStoreCounters()
Deprecated.
|
int |
getNumberMaps()
Deprecated.
|
int |
getNumberReduces()
Deprecated.
|
long |
getProactiveSpillCountObjects() |
long |
getProactiveSpillCountRecs() |
long |
getReduceInputRecords()
Deprecated.
|
long |
getReduceOutputRecords()
Deprecated.
|
long |
getSMMSpillCount() |
TezVertexStats |
getVertexStats(String vertexName) |
void |
setJobId(String appId) |
calculateMedianValue, getAlias, getAliasLocation, getBytesWritten, getErrorMessage, getException, getFeature, getHdfsBytesRead, getHdfsBytesWritten, getInputs, getOutputs, getOutputSize, getRecordWrittern, getState, isEqual, isIndexer, isSampler, isSuccessful, setBackendException, setConf, setErrorMsg, setSuccessfulannotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlanpublic static final String DAG_COUNTER_GROUP
public static final String FS_COUNTER_GROUP
public static final String TASK_COUNTER_GROUP
public static final String PIG_COUNTER_GROUP
public static final String SUCCESS_HEADER
public static final String FAILURE_HEADER
protected TezDAGStats(String name, PigStats.JobGraph plan, Map<String,TezVertexStats> tezVertexStatsMap, StringBuilder tezDAGPlan)
public TezVertexStats getVertexStats(String vertexName)
public void accumulateStats(TezJob tezJob) throws IOException
IOExceptionpublic void setJobId(String appId)
public void accept(PlanVisitor v) throws FrontendException
Operatoraccept in class JobStatsv - Visitor to accept.FrontendExceptionpublic 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 JobStatspublic long getSMMSpillCount()
getSMMSpillCount in class JobStatspublic long getProactiveSpillCountObjects()
getProactiveSpillCountObjects in class JobStatspublic long getProactiveSpillCountRecs()
getProactiveSpillCountRecs in class JobStats@Deprecated public org.apache.hadoop.mapred.Counters getHadoopCounters()
getHadoopCounters in class JobStats@Deprecated public Map<String,Long> getMultiStoreCounters()
getMultiStoreCounters in class JobStats@Deprecated public Map<String,Long> getMultiInputCounters()
getMultiInputCounters in class JobStatsCopyright © 2007-2017 The Apache Software Foundation