public class TezOutputContextImpl extends TezTaskContextImpl implements org.apache.tez.runtime.api.OutputContext
descriptor, initialMemoryDistributor, runtimeTask, taskAttemptID, taskVertexName, tezUmbilical| Constructor and Description |
|---|
TezOutputContextImpl(org.apache.hadoop.conf.Configuration conf,
String[] workDirs,
int appAttemptNumber,
TezUmbilical tezUmbilical,
String dagName,
String taskVertexName,
String destinationVertexName,
int vertexParallelism,
org.apache.tez.dag.records.TezTaskAttemptID taskAttemptID,
int outputIndex,
org.apache.tez.dag.api.UserPayload userPayload,
LogicalIOProcessorRuntimeTask runtimeTask,
Map<String,ByteBuffer> serviceConsumerMetadata,
Map<String,String> auxServiceEnv,
MemoryDistributor memDist,
org.apache.tez.dag.api.OutputDescriptor outputDescriptor,
org.apache.tez.runtime.api.ObjectRegistry objectRegistry,
org.apache.tez.runtime.api.ExecutionContext ExecutionContext,
long memAvailable) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
fatalError(Throwable exception,
String message) |
String |
getDestinationVertexName() |
int |
getOutputIndex() |
org.apache.tez.runtime.api.OutputStatisticsReporter |
getStatisticsReporter() |
org.apache.tez.dag.api.UserPayload |
getUserPayload() |
void |
sendEvents(List<org.apache.tez.runtime.api.Event> events) |
getApplicationId, getCounters, getDAGAttemptNumber, getDagIdentifier, getDAGName, getExecutionContext, getObjectRegistry, getServiceConsumerMetaData, getServiceProviderMetaData, getTaskAttemptNumber, getTaskIndex, getTaskVertexIndex, getTaskVertexName, getTotalMemoryAvailableToTask, getUniqueIdentifier, getVertexParallelism, getWorkDirs, requestInitialMemory, signalFatalErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicationId, getCounters, getDAGAttemptNumber, getDagIdentifier, getDAGName, getExecutionContext, getObjectRegistry, getServiceConsumerMetaData, getServiceProviderMetaData, getTaskAttemptNumber, getTaskIndex, getTaskVertexIndex, getTaskVertexName, getTotalMemoryAvailableToTask, getUniqueIdentifier, getVertexParallelism, getWorkDirs, requestInitialMemory@InterfaceAudience.Private
public TezOutputContextImpl(org.apache.hadoop.conf.Configuration conf,
String[] workDirs,
int appAttemptNumber,
TezUmbilical tezUmbilical,
String dagName,
String taskVertexName,
String destinationVertexName,
int vertexParallelism,
org.apache.tez.dag.records.TezTaskAttemptID taskAttemptID,
int outputIndex,
@Nullable
org.apache.tez.dag.api.UserPayload userPayload,
LogicalIOProcessorRuntimeTask runtimeTask,
Map<String,ByteBuffer> serviceConsumerMetadata,
Map<String,String> auxServiceEnv,
MemoryDistributor memDist,
org.apache.tez.dag.api.OutputDescriptor outputDescriptor,
org.apache.tez.runtime.api.ObjectRegistry objectRegistry,
org.apache.tez.runtime.api.ExecutionContext ExecutionContext,
long memAvailable)
public void sendEvents(List<org.apache.tez.runtime.api.Event> events)
sendEvents in interface org.apache.tez.runtime.api.TaskContextpublic org.apache.tez.dag.api.UserPayload getUserPayload()
getUserPayload in interface org.apache.tez.runtime.api.TaskContextpublic String getDestinationVertexName()
getDestinationVertexName in interface org.apache.tez.runtime.api.OutputContextpublic void fatalError(Throwable exception, String message)
fatalError in interface org.apache.tez.runtime.api.TaskContextpublic int getOutputIndex()
getOutputIndex in interface org.apache.tez.runtime.api.OutputContextpublic org.apache.tez.runtime.api.OutputStatisticsReporter getStatisticsReporter()
getStatisticsReporter in interface org.apache.tez.runtime.api.OutputContextpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class TezTaskContextImplIOExceptionCopyright © 2015 Apache Software Foundation. All rights reserved.