public class TezTaskRunner2 extends Object
| Constructor and Description |
|---|
TezTaskRunner2(org.apache.hadoop.conf.Configuration tezConf,
org.apache.hadoop.security.UserGroupInformation ugi,
String[] localDirs,
TaskSpec taskSpec,
int appAttemptNumber,
Map<String,ByteBuffer> serviceConsumerMetadata,
Map<String,String> serviceProviderEnvMap,
com.google.common.collect.Multimap<String,String> startedInputsMap,
TaskReporterInterface taskReporter,
ExecutorService executor,
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)
Deprecated.
|
TezTaskRunner2(org.apache.hadoop.conf.Configuration tezConf,
org.apache.hadoop.security.UserGroupInformation ugi,
String[] localDirs,
TaskSpec taskSpec,
int appAttemptNumber,
Map<String,ByteBuffer> serviceConsumerMetadata,
Map<String,String> serviceProviderEnvMap,
com.google.common.collect.Multimap<String,String> startedInputsMap,
TaskReporterInterface taskReporter,
ExecutorService executor,
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 |
|---|---|
boolean |
killTask()
Attempt to kill the running task, if it hasn't already completed for some other reason.
|
TaskRunner2Result |
run()
Throws an exception only when there was a communication error reported by
the TaskReporter.
|
@Deprecated public TezTaskRunner2(org.apache.hadoop.conf.Configuration tezConf, org.apache.hadoop.security.UserGroupInformation ugi, String[] localDirs, TaskSpec taskSpec, int appAttemptNumber, Map<String,ByteBuffer> serviceConsumerMetadata, Map<String,String> serviceProviderEnvMap, com.google.common.collect.Multimap<String,String> startedInputsMap, TaskReporterInterface taskReporter, ExecutorService executor, 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) throws IOException
IOExceptionpublic TezTaskRunner2(org.apache.hadoop.conf.Configuration tezConf,
org.apache.hadoop.security.UserGroupInformation ugi,
String[] localDirs,
TaskSpec taskSpec,
int appAttemptNumber,
Map<String,ByteBuffer> serviceConsumerMetadata,
Map<String,String> serviceProviderEnvMap,
com.google.common.collect.Multimap<String,String> startedInputsMap,
TaskReporterInterface taskReporter,
ExecutorService executor,
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 TaskRunner2Result run()
public boolean killTask()
Copyright © 2017 Apache Software Foundation. All rights reserved.