@InterfaceAudience.Private public class LogicalIOProcessorRuntimeTask extends RuntimeTask
RuntimeTask.StateerrorReported, eventCounter, nextFromEventId, nextPreRoutedEventId, progress, state, taskSpec, tezConf, tezCounters, tezUmbilical| Constructor and Description |
|---|
LogicalIOProcessorRuntimeTask(TaskSpec taskSpec,
int appAttemptNumber,
org.apache.hadoop.conf.Configuration tezConf,
String[] localDirs,
TezUmbilical tezUmbilical,
Map<String,ByteBuffer> serviceConsumerMetadata,
Map<String,String> envMap,
com.google.common.collect.Multimap<String,String> startedInputsMap,
ObjectRegistry objectRegistry,
String pid,
ExecutionContext ExecutionContext,
long memAvailable,
boolean updateSysCounters,
HadoopShim hadoopShim,
TezExecutors sharedExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortTask() |
void |
cleanup() |
void |
close() |
HadoopShim |
getHadoopShim() |
Collection<InputContext> |
getInputContexts() |
Map<String,LogicalInput> |
getInputs() |
int |
getMaxEventsToHandle() |
Collection<OutputContext> |
getOutputContexts() |
Map<String,LogicalOutput> |
getOutputs() |
LogicalIOProcessor |
getProcessor() |
ProcessorContext |
getProcessorContext() |
org.apache.hadoop.conf.Configuration |
getTaskConf() |
void |
handleEvents(Collection<TezEvent> events) |
void |
initialize() |
void |
run() |
void |
setFrameworkCounters() |
addAndGetTezCounter, getAndClearProgressNotification, getCounters, getEventCounter, getNextFromEventId, getNextPreRoutedEventId, getProgress, getTaskAttemptID, getTaskStatistics, getVertexName, hasInitialized, isRunning, isTaskDone, isUpdatingSystemCounters, notifyProgressInvocation, registerError, setNextFromEventId, setNextPreRoutedEventId, setProgress, setTaskDone, wasErrorReportedpublic LogicalIOProcessorRuntimeTask(TaskSpec taskSpec, int appAttemptNumber, org.apache.hadoop.conf.Configuration tezConf, String[] localDirs, TezUmbilical tezUmbilical, Map<String,ByteBuffer> serviceConsumerMetadata, Map<String,String> envMap, com.google.common.collect.Multimap<String,String> startedInputsMap, ObjectRegistry objectRegistry, String pid, ExecutionContext ExecutionContext, long memAvailable, boolean updateSysCounters, HadoopShim hadoopShim, TezExecutors sharedExecutor) throws IOException
IOExceptionpublic int getMaxEventsToHandle()
getMaxEventsToHandle in class RuntimeTaskpublic void handleEvents(Collection<TezEvent> events)
handleEvents in class RuntimeTaskpublic void abortTask()
abortTask in class RuntimeTaskpublic void cleanup()
throws InterruptedException
InterruptedException@InterfaceAudience.Private public Collection<InputContext> getInputContexts()
@InterfaceAudience.Private public Collection<OutputContext> getOutputContexts()
@InterfaceAudience.Private public ProcessorContext getProcessorContext()
@InterfaceAudience.Private public LogicalIOProcessor getProcessor()
@InterfaceAudience.Private public Map<String,LogicalInput> getInputs()
@InterfaceAudience.Private public Map<String,LogicalOutput> getOutputs()
@InterfaceAudience.Private public HadoopShim getHadoopShim()
@InterfaceAudience.Private public org.apache.hadoop.conf.Configuration getTaskConf()
public void setFrameworkCounters()
setFrameworkCounters in class RuntimeTaskCopyright © 2022 Apache Software Foundation. All rights reserved.