@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,
org.apache.tez.runtime.api.ObjectRegistry objectRegistry,
String pid,
org.apache.tez.runtime.api.ExecutionContext ExecutionContext,
long memAvailable,
boolean updateSysCounters,
org.apache.tez.hadoop.shim.HadoopShim hadoopShim,
org.apache.tez.common.TezExecutors sharedExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortTask() |
void |
cleanup() |
void |
close() |
org.apache.tez.hadoop.shim.HadoopShim |
getHadoopShim() |
Collection<org.apache.tez.runtime.api.InputContext> |
getInputContexts() |
Map<String,org.apache.tez.runtime.api.LogicalInput> |
getInputs() |
int |
getMaxEventsToHandle() |
Collection<org.apache.tez.runtime.api.OutputContext> |
getOutputContexts() |
Map<String,org.apache.tez.runtime.api.LogicalOutput> |
getOutputs() |
org.apache.tez.runtime.api.LogicalIOProcessor |
getProcessor() |
org.apache.tez.runtime.api.ProcessorContext |
getProcessorContext() |
org.apache.hadoop.conf.Configuration |
getTaskConf() |
void |
handleEvents(Collection<TezEvent> events) |
void |
initialize() |
void |
run() |
addAndGetTezCounter, getAndClearProgressNotification, getCounters, getEventCounter, getNextFromEventId, getNextPreRoutedEventId, getProgress, getTaskAttemptID, getTaskStatistics, getVertexName, hasInitialized, isRunning, isTaskDone, notifyProgressInvocation, registerError, setFrameworkCounters, 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, org.apache.tez.runtime.api.ObjectRegistry objectRegistry, String pid, org.apache.tez.runtime.api.ExecutionContext ExecutionContext, long memAvailable, boolean updateSysCounters, org.apache.tez.hadoop.shim.HadoopShim hadoopShim, org.apache.tez.common.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<org.apache.tez.runtime.api.InputContext> getInputContexts()
@InterfaceAudience.Private public Collection<org.apache.tez.runtime.api.OutputContext> getOutputContexts()
@InterfaceAudience.Private public org.apache.tez.runtime.api.ProcessorContext getProcessorContext()
@InterfaceAudience.Private public org.apache.tez.runtime.api.LogicalIOProcessor getProcessor()
@InterfaceAudience.Private public Map<String,org.apache.tez.runtime.api.LogicalInput> getInputs()
@InterfaceAudience.Private public Map<String,org.apache.tez.runtime.api.LogicalOutput> getOutputs()
@InterfaceAudience.Private public org.apache.tez.hadoop.shim.HadoopShim getHadoopShim()
@InterfaceAudience.Private public org.apache.hadoop.conf.Configuration getTaskConf()
Copyright © 2017 Apache Software Foundation. All rights reserved.