| Constructor and Description |
|---|
ExecutionVertex(ExecutionJobVertex jobVertex,
int subTaskIndex,
IntermediateResult[] producedDataSets) |
ExecutionVertex(ExecutionJobVertex jobVertex,
int subTaskIndex,
IntermediateResult[] producedDataSets,
long createTimestamp) |
public ExecutionVertex(ExecutionJobVertex jobVertex, int subTaskIndex, IntermediateResult[] producedDataSets)
public ExecutionVertex(ExecutionJobVertex jobVertex, int subTaskIndex, IntermediateResult[] producedDataSets, long createTimestamp)
public JobID getJobId()
public ExecutionJobVertex getJobVertex()
public JobVertexID getJobvertexId()
public String getTaskName()
public int getTotalNumberOfParallelSubtasks()
public int getParallelSubtaskIndex()
public int getNumberOfInputs()
public ExecutionEdge[] getInputEdges(int input)
public CoLocationConstraint getLocationConstraint()
public Execution getCurrentExecutionAttempt()
public ExecutionState getExecutionState()
public long getStateTimestamp(ExecutionState state)
public Throwable getFailureCause()
public SimpleSlot getCurrentAssignedResource()
public ExecutionGraph getExecutionGraph()
public void connectSource(int inputNumber,
IntermediateResult source,
JobEdge edge,
int consumerNumber)
public Iterable<Instance> getPreferredLocations()
null to indicate no location preference.public void resetForNewExecution()
public void scheduleForExecution(Scheduler scheduler, boolean queued) throws NoResourceAvailableException
NoResourceAvailableExceptionpublic void deployToSlot(SimpleSlot slot) throws JobException
JobExceptionpublic void cancel()
public void fail(Throwable t)
public void execute(Runnable action)
public String getSimpleName()
getTaskName(), 'x' is the parallel
subtask index as returned by getParallelSubtaskIndex()+ 1, and 'y' is the total
number of tasks, as returned by getTotalNumberOfParallelSubtasks().Copyright © 2015 The Apache Software Foundation. All rights reserved.