public static class ShuffleVertexManager.CustomShuffleEdgeManager
extends org.apache.tez.dag.api.EdgeManagerPluginOnDemand
| Constructor and Description |
|---|
ShuffleVertexManager.CustomShuffleEdgeManager(org.apache.tez.dag.api.EdgeManagerPluginContext context) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumDestinationConsumerTasks(int sourceTaskIndex) |
int |
getNumDestinationTaskPhysicalInputs(int destinationTaskIndex) |
int |
getNumSourceTaskPhysicalOutputs(int sourceTaskIndex) |
void |
initialize() |
void |
prepareForRouting() |
org.apache.tez.dag.api.EdgeManagerPluginOnDemand.EventRouteMetadata |
routeCompositeDataMovementEventToDestination(int sourceTaskIndex,
int destinationTaskIndex) |
void |
routeDataMovementEventToDestination(org.apache.tez.runtime.api.events.DataMovementEvent event,
int sourceTaskIndex,
int sourceOutputIndex,
Map<Integer,List<Integer>> destinationTaskAndInputIndices) |
org.apache.tez.dag.api.EdgeManagerPluginOnDemand.EventRouteMetadata |
routeDataMovementEventToDestination(int sourceTaskIndex,
int sourceOutputIndex,
int destTaskIndex) |
int |
routeInputErrorEventToSource(org.apache.tez.runtime.api.events.InputReadErrorEvent event,
int destinationTaskIndex,
int destinationFailedInputIndex) |
int |
routeInputErrorEventToSource(int destinationTaskIndex,
int destinationFailedInputIndex) |
org.apache.tez.dag.api.EdgeManagerPluginOnDemand.EventRouteMetadata |
routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
int destinationTaskIndex) |
void |
routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
Map<Integer,List<Integer>> destinationTaskAndInputIndices) |
public ShuffleVertexManager.CustomShuffleEdgeManager(org.apache.tez.dag.api.EdgeManagerPluginContext context)
public void initialize()
initialize in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandpublic int getNumDestinationTaskPhysicalInputs(int destinationTaskIndex)
getNumDestinationTaskPhysicalInputs in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandpublic int getNumSourceTaskPhysicalOutputs(int sourceTaskIndex)
getNumSourceTaskPhysicalOutputs in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandpublic void routeDataMovementEventToDestination(org.apache.tez.runtime.api.events.DataMovementEvent event,
int sourceTaskIndex,
int sourceOutputIndex,
Map<Integer,List<Integer>> destinationTaskAndInputIndices)
routeDataMovementEventToDestination in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandpublic org.apache.tez.dag.api.EdgeManagerPluginOnDemand.EventRouteMetadata routeDataMovementEventToDestination(int sourceTaskIndex,
int sourceOutputIndex,
int destTaskIndex)
throws Exception
routeDataMovementEventToDestination in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandExceptionpublic void prepareForRouting()
throws Exception
prepareForRouting in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandException@Nullable public org.apache.tez.dag.api.EdgeManagerPluginOnDemand.EventRouteMetadata routeCompositeDataMovementEventToDestination(int sourceTaskIndex, int destinationTaskIndex) throws Exception
routeCompositeDataMovementEventToDestination in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandExceptionpublic org.apache.tez.dag.api.EdgeManagerPluginOnDemand.EventRouteMetadata routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
int destinationTaskIndex)
throws Exception
routeInputSourceTaskFailedEventToDestination in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandExceptionpublic void routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
Map<Integer,List<Integer>> destinationTaskAndInputIndices)
routeInputSourceTaskFailedEventToDestination in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandpublic int routeInputErrorEventToSource(org.apache.tez.runtime.api.events.InputReadErrorEvent event,
int destinationTaskIndex,
int destinationFailedInputIndex)
routeInputErrorEventToSource in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandpublic int routeInputErrorEventToSource(int destinationTaskIndex,
int destinationFailedInputIndex)
routeInputErrorEventToSource in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandpublic int getNumDestinationConsumerTasks(int sourceTaskIndex)
getNumDestinationConsumerTasks in class org.apache.tez.dag.api.EdgeManagerPluginOnDemandCopyright © 2016 Apache Software Foundation. All rights reserved.