public class CustomPartitionEdge
extends org.apache.tez.dag.api.EdgeManagerPlugin
Constructor and Description |
---|
CustomPartitionEdge(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 |
routeDataMovementEventToDestination(org.apache.tez.runtime.api.events.DataMovementEvent event,
int sourceTaskIndex,
int sourceOutputIndex,
Map<Integer,List<Integer>> mapDestTaskIndices) |
int |
routeInputErrorEventToSource(org.apache.tez.runtime.api.events.InputReadErrorEvent event,
int destinationTaskIndex,
int destinationFailedInputIndex) |
void |
routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
Map<Integer,List<Integer>> mapDestTaskIndices) |
public CustomPartitionEdge(org.apache.tez.dag.api.EdgeManagerPluginContext context)
public int getNumDestinationTaskPhysicalInputs(int destinationTaskIndex)
getNumDestinationTaskPhysicalInputs
in class org.apache.tez.dag.api.EdgeManagerPlugin
public int getNumSourceTaskPhysicalOutputs(int sourceTaskIndex)
getNumSourceTaskPhysicalOutputs
in class org.apache.tez.dag.api.EdgeManagerPlugin
public int getNumDestinationConsumerTasks(int sourceTaskIndex)
getNumDestinationConsumerTasks
in class org.apache.tez.dag.api.EdgeManagerPlugin
public void initialize()
initialize
in class org.apache.tez.dag.api.EdgeManagerPlugin
public void routeDataMovementEventToDestination(org.apache.tez.runtime.api.events.DataMovementEvent event, int sourceTaskIndex, int sourceOutputIndex, Map<Integer,List<Integer>> mapDestTaskIndices)
routeDataMovementEventToDestination
in class org.apache.tez.dag.api.EdgeManagerPlugin
public void routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex, Map<Integer,List<Integer>> mapDestTaskIndices)
routeInputSourceTaskFailedEventToDestination
in class org.apache.tez.dag.api.EdgeManagerPlugin
public int routeInputErrorEventToSource(org.apache.tez.runtime.api.events.InputReadErrorEvent event, int destinationTaskIndex, int destinationFailedInputIndex)
routeInputErrorEventToSource
in class org.apache.tez.dag.api.EdgeManagerPlugin
Copyright © 2017 The Apache Software Foundation. All rights reserved.