@InterfaceAudience.Public public interface OutputContext extends TaskContext
Modifier and Type | Method and Description |
---|---|
String |
getDestinationVertexName()
Get the Vertex Name of the Destination that is the recipient of this
Output's data
|
String |
getInputOutputVertexNames()
Returns a convenient, human-readable string describing the input and output vertices.
|
int |
getOutputIndex()
Get the index of the output in the set of all outputs for the task.
|
OutputStatisticsReporter |
getStatisticsReporter()
Get an
OutputStatisticsReporter for this Output that can
be used to report statistics like data size |
void |
trapEvents(org.apache.hadoop.yarn.event.EventHandler eventHandler)
Notify the context that at this point no more events should be sent.
|
fatalError, getApplicationId, getContainerConfiguration, getCounters, getDAGAttemptNumber, getDagIdentifier, getDAGName, getExecutionContext, getObjectRegistry, getServiceConsumerMetaData, getServiceProviderMetaData, getTaskAttemptNumber, getTaskIndex, getTaskVertexIndex, getTaskVertexName, getTotalMemoryAvailableToTask, getUniqueIdentifier, getUserPayload, getVertexParallelism, getWorkDirs, notifyProgress, reportFailure, requestInitialMemory, sendEvents
String getDestinationVertexName()
String getInputOutputVertexNames()
int getOutputIndex()
OutputStatisticsReporter getStatisticsReporter()
OutputStatisticsReporter
for this Output
that can
be used to report statistics like data sizeOutputStatisticsReporter
void trapEvents(org.apache.hadoop.yarn.event.EventHandler eventHandler)
eventHandler
- should handle the events after the call.Copyright © 2024 Apache Software Foundation. All rights reserved.