public class ContainerTask extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
ContainerTask() |
ContainerTask(TaskSpec taskSpec,
boolean shouldDie,
Map<String,TezLocalResource> additionalResources,
org.apache.hadoop.security.Credentials credentials,
boolean credentialsChanged) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,TezLocalResource> |
getAdditionalResources() |
org.apache.hadoop.security.Credentials |
getCredentials() |
TaskSpec |
getTaskSpec() |
boolean |
haveCredentialsChanged() |
void |
readFields(DataInput in) |
boolean |
shouldDie() |
String |
toString() |
void |
write(DataOutput out) |
public ContainerTask()
public ContainerTask(TaskSpec taskSpec, boolean shouldDie, Map<String,TezLocalResource> additionalResources, org.apache.hadoop.security.Credentials credentials, boolean credentialsChanged)
public TaskSpec getTaskSpec()
public boolean shouldDie()
public Map<String,TezLocalResource> getAdditionalResources()
public org.apache.hadoop.security.Credentials getCredentials()
public boolean haveCredentialsChanged()
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.