@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 
 | 
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, sendEventsString getDestinationVertexName()
int getOutputIndex()
OutputStatisticsReporter getStatisticsReporter()
OutputStatisticsReporter for this Output that can
 be used to report statistics like data sizeOutputStatisticsReportervoid trapEvents(org.apache.hadoop.yarn.event.EventHandler eventHandler)
eventHandler - should handle the events after the call.Copyright © 2021 Apache Software Foundation. All rights reserved.