org.apache.tez.dag.app.dag.impl
Class NullEdgeManager
java.lang.Object
org.apache.tez.dag.app.dag.impl.NullEdgeManager
- All Implemented Interfaces:
- org.apache.tez.dag.api.EdgeManager
public class NullEdgeManager
- extends Object
- implements org.apache.tez.dag.api.EdgeManager
|
Method Summary |
int |
getNumDestinationConsumerTasks(int sourceTaskIndex,
int numDestinationTasks)
|
int |
getNumDestinationTaskPhysicalInputs(int numSourceTasks,
int destinationTaskIndex)
|
int |
getNumSourceTaskPhysicalOutputs(int numDestinationTasks,
int sourceTaskIndex)
|
void |
initialize(org.apache.tez.dag.api.EdgeManagerContext edgeManagerContext)
|
void |
routeDataMovementEventToDestination(org.apache.tez.runtime.api.events.DataMovementEvent event,
int sourceTaskIndex,
int numDestinationTasks,
Map<Integer,List<Integer>> inputIndicesToTaskIndices)
|
int |
routeInputErrorEventToSource(org.apache.tez.runtime.api.events.InputReadErrorEvent event,
int destinationTaskIndex)
|
void |
routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
int numDestinationTasks,
Map<Integer,List<Integer>> inputIndicesToTaskIndices)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullEdgeManager
public NullEdgeManager()
initialize
public void initialize(org.apache.tez.dag.api.EdgeManagerContext edgeManagerContext)
- Specified by:
initialize in interface org.apache.tez.dag.api.EdgeManager
getNumDestinationTaskPhysicalInputs
public int getNumDestinationTaskPhysicalInputs(int numSourceTasks,
int destinationTaskIndex)
- Specified by:
getNumDestinationTaskPhysicalInputs in interface org.apache.tez.dag.api.EdgeManager
getNumSourceTaskPhysicalOutputs
public int getNumSourceTaskPhysicalOutputs(int numDestinationTasks,
int sourceTaskIndex)
- Specified by:
getNumSourceTaskPhysicalOutputs in interface org.apache.tez.dag.api.EdgeManager
routeDataMovementEventToDestination
public void routeDataMovementEventToDestination(org.apache.tez.runtime.api.events.DataMovementEvent event,
int sourceTaskIndex,
int numDestinationTasks,
Map<Integer,List<Integer>> inputIndicesToTaskIndices)
- Specified by:
routeDataMovementEventToDestination in interface org.apache.tez.dag.api.EdgeManager
getNumDestinationConsumerTasks
public int getNumDestinationConsumerTasks(int sourceTaskIndex,
int numDestinationTasks)
- Specified by:
getNumDestinationConsumerTasks in interface org.apache.tez.dag.api.EdgeManager
routeInputErrorEventToSource
public int routeInputErrorEventToSource(org.apache.tez.runtime.api.events.InputReadErrorEvent event,
int destinationTaskIndex)
- Specified by:
routeInputErrorEventToSource in interface org.apache.tez.dag.api.EdgeManager
routeInputSourceTaskFailedEventToDestination
public void routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
int numDestinationTasks,
Map<Integer,List<Integer>> inputIndicesToTaskIndices)
- Specified by:
routeInputSourceTaskFailedEventToDestination in interface org.apache.tez.dag.api.EdgeManager
Copyright © 2014 Apache Software Foundation. All rights reserved.