org.apache.tez.dag.app
Class ContainerContext
java.lang.Object
org.apache.tez.dag.app.ContainerContext
public class ContainerContext
- extends Object
|
Constructor Summary |
ContainerContext(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources,
org.apache.hadoop.security.Credentials credentials,
Map<String,String> environment,
String javaOpts)
|
ContainerContext(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources,
org.apache.hadoop.security.Credentials credentials,
Map<String,String> environment,
String javaOpts,
Vertex vertex)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerContext
public ContainerContext(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources,
org.apache.hadoop.security.Credentials credentials,
Map<String,String> environment,
String javaOpts)
ContainerContext
public ContainerContext(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources,
org.apache.hadoop.security.Credentials credentials,
Map<String,String> environment,
String javaOpts,
Vertex vertex)
getLocalResources
public Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getLocalResources()
getCredentials
public org.apache.hadoop.security.Credentials getCredentials()
getEnvironment
public Map<String,String> getEnvironment()
getJavaOpts
public String getJavaOpts()
isSuperSet
public boolean isSuperSet(ContainerContext otherContext)
- Returns:
- true if this ContainerContext is a super-set of the specified
container context.
isExactMatch
public boolean isExactMatch(ContainerContext otherContext)
- Returns:
- true if this ContainerContext is an exact match of the specified
container context.
Copyright © 2014 Apache Software Foundation. All rights reserved.