public interface Vertex extends Comparable<Vertex>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Vertex.VertexConfig |
| Modifier and Type | Method and Description |
|---|---|
void |
addCounters(org.apache.tez.common.counters.TezCounters tezCounters)
Add custom counters to the vertex
|
void |
addSharedOutputs(Set<String> outputs) |
void |
doneReconfiguringVertex() |
Map<String,org.apache.tez.dag.api.RootInputLeafOutput<org.apache.tez.dag.api.InputDescriptor,org.apache.tez.dag.api.InputInitializerDescriptor>> |
getAdditionalInputs() |
Map<String,org.apache.tez.dag.api.RootInputLeafOutput<org.apache.tez.dag.api.OutputDescriptor,org.apache.tez.dag.api.OutputCommitterDescriptor>> |
getAdditionalOutputs() |
org.apache.tez.common.counters.TezCounters |
getAllCounters()
Get all the counters of this vertex.
|
AppContext |
getAppContext() |
org.apache.tez.common.counters.TezCounters |
getCachedCounters()
Get all the counters of this vertex.
|
float |
getCompletedTaskProgress() |
int |
getCompletedTasks() |
org.apache.hadoop.conf.Configuration |
getConf() |
int |
getContainerLauncherIdentifier() |
DAG |
getDAG() |
List<String> |
getDiagnostics() |
int |
getDistanceFromRoot() |
int |
getFailedTaskAttemptCount() |
long |
getFinishTime() |
long |
getFirstTaskStartTime() |
List<org.apache.tez.runtime.api.impl.GroupInputSpec> |
getGroupInputSpecList() |
long |
getInitTime() |
List<org.apache.tez.runtime.api.impl.InputSpec> |
getInputSpecList(int taskIndex) |
Map<Vertex,Edge> |
getInputVertices() |
int |
getInputVerticesCount() |
LinkedHashMap<String,Integer> |
getIOIndices() |
int |
getKilledTaskAttemptCount() |
long |
getLastTaskFinishTime() |
String |
getLogIdentifier() |
int |
getMaxTaskConcurrency() |
String |
getName() |
Map<String,org.apache.tez.runtime.api.OutputCommitter> |
getOutputCommitters() |
List<org.apache.tez.runtime.api.impl.OutputSpec> |
getOutputSpecList(int taskIndex) |
Map<Vertex,Edge> |
getOutputVertices() |
int |
getOutputVerticesCount() |
org.apache.tez.dag.api.ProcessorDescriptor |
getProcessorDescriptor() |
float |
getProgress() |
int |
getRejectedTaskAttemptCount() |
int |
getRunningTasks() |
ServicePluginInfo |
getServicePluginInfo() |
Set<String> |
getSharedOutputs() |
long |
getStartTime() |
VertexState |
getState() |
org.apache.tez.runtime.api.VertexStatistics |
getStatistics() |
int |
getSucceededTasks() |
Task |
getTask(int taskIndex) |
Task |
getTask(org.apache.tez.dag.records.TezTaskID taskID) |
TaskAttemptEventInfo |
getTaskAttemptTezEvents(org.apache.tez.dag.records.TezTaskAttemptID attemptID,
int fromEventId,
int nextPreRoutedFromEventId,
int maxEvents) |
int |
getTaskCommunicatorIdentifier() |
org.apache.tez.dag.api.TaskLocationHint |
getTaskLocationHint(org.apache.tez.dag.records.TezTaskID taskID) |
org.apache.hadoop.yarn.api.records.Resource |
getTaskResource() |
Map<org.apache.tez.dag.records.TezTaskID,Task> |
getTasks() |
int |
getTaskSchedulerIdentifier() |
VertexTerminationCause |
getTerminationCause() |
int |
getTotalTasks() |
Vertex.VertexConfig |
getVertexConfig() |
org.apache.tez.dag.records.TezVertexID |
getVertexId() |
org.apache.tez.dag.api.records.DAGProtos.VertexPlan |
getVertexPlan() |
ProgressBuilder |
getVertexProgress() |
VertexStatusBuilder |
getVertexStatus(Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions) |
void |
handleSpeculatorEvent(SpeculatorEvent event) |
void |
incrementFailedTaskAttemptCount() |
void |
incrementKilledTaskAttemptCount() |
void |
incrementRejectedTaskAttemptCount() |
boolean |
isSpeculationEnabled() |
void |
reconfigureVertex(int parallelism,
org.apache.tez.dag.api.VertexLocationHint locationHint,
Map<String,org.apache.tez.dag.api.EdgeProperty> sourceEdgeProperties) |
void |
reconfigureVertex(int parallelism,
org.apache.tez.dag.api.VertexLocationHint locationHint,
Map<String,org.apache.tez.dag.api.EdgeProperty> sourceEdgeProperties,
Map<String,org.apache.tez.runtime.api.InputSpecUpdate> rootInputSpecUpdate) |
void |
reconfigureVertex(Map<String,org.apache.tez.runtime.api.InputSpecUpdate> rootInputSpecUpdate,
int parallelism,
org.apache.tez.dag.api.VertexLocationHint locationHint) |
void |
reportTaskStartTime(long taskStartTime) |
void |
scheduleSpeculativeTask(org.apache.tez.dag.records.TezTaskID taskId) |
void |
scheduleTasks(List<org.apache.tez.dag.api.VertexManagerPluginContext.ScheduleTaskRequest> tasks) |
void |
setAdditionalInputs(List<org.apache.tez.dag.api.records.DAGProtos.RootInputLeafOutputProto> inputs) |
void |
setAdditionalOutputs(List<org.apache.tez.dag.api.records.DAGProtos.RootInputLeafOutputProto> outputs) |
void |
setInputVertices(Map<Vertex,Edge> inVertices) |
void |
setOutputVertices(Map<Vertex,Edge> outVertices) |
void |
setParallelism(int parallelism,
org.apache.tez.dag.api.VertexLocationHint vertexLocationHint,
Map<String,org.apache.tez.dag.api.EdgeManagerPluginDescriptor> sourceEdgeManagers,
Map<String,org.apache.tez.runtime.api.InputSpecUpdate> rootInputSpecUpdate,
boolean fromVertexManager) |
void |
setVertexLocationHint(org.apache.tez.dag.api.VertexLocationHint vertexLocationHint) |
void |
vertexReconfigurationPlanned() |
compareToorg.apache.tez.dag.records.TezVertexID getVertexId()
org.apache.tez.dag.api.records.DAGProtos.VertexPlan getVertexPlan()
int getDistanceFromRoot()
LinkedHashMap<String,Integer> getIOIndices()
String getName()
VertexState getState()
org.apache.tez.common.counters.TezCounters getAllCounters()
org.apache.tez.common.counters.TezCounters getCachedCounters()
void addCounters(org.apache.tez.common.counters.TezCounters tezCounters)
tezCounters - counters to addint getMaxTaskConcurrency()
Task getTask(org.apache.tez.dag.records.TezTaskID taskID)
Task getTask(int taskIndex)
int getTotalTasks()
int getCompletedTasks()
int getSucceededTasks()
int getRunningTasks()
float getProgress()
float getCompletedTaskProgress()
ProgressBuilder getVertexProgress()
VertexStatusBuilder getVertexStatus(Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions)
@Nullable org.apache.tez.dag.api.TaskLocationHint getTaskLocationHint(org.apache.tez.dag.records.TezTaskID taskID)
void setParallelism(int parallelism,
org.apache.tez.dag.api.VertexLocationHint vertexLocationHint,
Map<String,org.apache.tez.dag.api.EdgeManagerPluginDescriptor> sourceEdgeManagers,
Map<String,org.apache.tez.runtime.api.InputSpecUpdate> rootInputSpecUpdate,
boolean fromVertexManager)
throws AMUserCodeException
AMUserCodeExceptionvoid reconfigureVertex(int parallelism,
@Nullable
org.apache.tez.dag.api.VertexLocationHint locationHint,
@Nullable
Map<String,org.apache.tez.dag.api.EdgeProperty> sourceEdgeProperties)
throws AMUserCodeException
AMUserCodeExceptionvoid reconfigureVertex(@Nullable Map<String,org.apache.tez.runtime.api.InputSpecUpdate> rootInputSpecUpdate, int parallelism, @Nullable org.apache.tez.dag.api.VertexLocationHint locationHint) throws AMUserCodeException
AMUserCodeExceptionvoid reconfigureVertex(int parallelism,
@Nullable
org.apache.tez.dag.api.VertexLocationHint locationHint,
@Nullable
Map<String,org.apache.tez.dag.api.EdgeProperty> sourceEdgeProperties,
@Nullable
Map<String,org.apache.tez.runtime.api.InputSpecUpdate> rootInputSpecUpdate)
throws AMUserCodeException
AMUserCodeExceptionvoid setVertexLocationHint(org.apache.tez.dag.api.VertexLocationHint vertexLocationHint)
void vertexReconfigurationPlanned()
void doneReconfiguringVertex()
org.apache.tez.runtime.api.VertexStatistics getStatistics()
void setAdditionalInputs(List<org.apache.tez.dag.api.records.DAGProtos.RootInputLeafOutputProto> inputs)
void setAdditionalOutputs(List<org.apache.tez.dag.api.records.DAGProtos.RootInputLeafOutputProto> outputs)
@Nullable Map<String,org.apache.tez.dag.api.RootInputLeafOutput<org.apache.tez.dag.api.InputDescriptor,org.apache.tez.dag.api.InputInitializerDescriptor>> getAdditionalInputs()
@Nullable Map<String,org.apache.tez.dag.api.RootInputLeafOutput<org.apache.tez.dag.api.OutputDescriptor,org.apache.tez.dag.api.OutputCommitterDescriptor>> getAdditionalOutputs()
List<org.apache.tez.runtime.api.impl.InputSpec> getInputSpecList(int taskIndex) throws AMUserCodeException
AMUserCodeExceptionList<org.apache.tez.runtime.api.impl.OutputSpec> getOutputSpecList(int taskIndex) throws AMUserCodeException
AMUserCodeExceptionList<org.apache.tez.runtime.api.impl.GroupInputSpec> getGroupInputSpecList()
int getInputVerticesCount()
int getOutputVerticesCount()
void scheduleTasks(List<org.apache.tez.dag.api.VertexManagerPluginContext.ScheduleTaskRequest> tasks)
void scheduleSpeculativeTask(org.apache.tez.dag.records.TezTaskID taskId)
org.apache.hadoop.yarn.api.records.Resource getTaskResource()
TaskAttemptEventInfo getTaskAttemptTezEvents(org.apache.tez.dag.records.TezTaskAttemptID attemptID, int fromEventId, int nextPreRoutedFromEventId, int maxEvents)
void handleSpeculatorEvent(SpeculatorEvent event)
org.apache.tez.dag.api.ProcessorDescriptor getProcessorDescriptor()
DAG getDAG()
@Nullable VertexTerminationCause getTerminationCause()
AppContext getAppContext()
String getLogIdentifier()
void incrementFailedTaskAttemptCount()
void incrementKilledTaskAttemptCount()
int getFailedTaskAttemptCount()
int getKilledTaskAttemptCount()
org.apache.hadoop.conf.Configuration getConf()
boolean isSpeculationEnabled()
int getTaskSchedulerIdentifier()
int getContainerLauncherIdentifier()
int getTaskCommunicatorIdentifier()
ServicePluginInfo getServicePluginInfo()
long getInitTime()
long getStartTime()
long getFinishTime()
void reportTaskStartTime(long taskStartTime)
long getFirstTaskStartTime()
long getLastTaskFinishTime()
Vertex.VertexConfig getVertexConfig()
void incrementRejectedTaskAttemptCount()
int getRejectedTaskAttemptCount()
Copyright © 2019 Apache Software Foundation. All rights reserved.