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.EdgeManagerPluginOnDemand
public int getNumDestinationTaskPhysicalInputs(int destinationTaskIndex)
getNumDestinationTaskPhysicalInputs
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
public int getNumSourceTaskPhysicalOutputs(int sourceTaskIndex)
getNumSourceTaskPhysicalOutputs
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
public 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.EdgeManagerPluginOnDemand
public org.apache.tez.dag.api.EdgeManagerPluginOnDemand.EventRouteMetadata routeDataMovementEventToDestination(int sourceTaskIndex, int sourceOutputIndex, int destTaskIndex) throws Exception
routeDataMovementEventToDestination
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
Exception
public void prepareForRouting() throws Exception
prepareForRouting
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
Exception
@Nullable public org.apache.tez.dag.api.EdgeManagerPluginOnDemand.EventRouteMetadata routeCompositeDataMovementEventToDestination(int sourceTaskIndex, int destinationTaskIndex) throws Exception
routeCompositeDataMovementEventToDestination
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
Exception
public org.apache.tez.dag.api.EdgeManagerPluginOnDemand.EventRouteMetadata routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex, int destinationTaskIndex) throws Exception
routeInputSourceTaskFailedEventToDestination
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
Exception
public void routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex, Map<Integer,List<Integer>> destinationTaskAndInputIndices)
routeInputSourceTaskFailedEventToDestination
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
public int routeInputErrorEventToSource(org.apache.tez.runtime.api.events.InputReadErrorEvent event, int destinationTaskIndex, int destinationFailedInputIndex)
routeInputErrorEventToSource
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
public int routeInputErrorEventToSource(int destinationTaskIndex, int destinationFailedInputIndex)
routeInputErrorEventToSource
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
public int getNumDestinationConsumerTasks(int sourceTaskIndex)
getNumDestinationConsumerTasks
in class org.apache.tez.dag.api.EdgeManagerPluginOnDemand
Copyright © 2016 Apache Software Foundation. All rights reserved.