org.apache.tez.dag.app
Class ContainerContext

java.lang.Object
  extended by 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)
           
 
Method Summary
 org.apache.hadoop.security.Credentials getCredentials()
           
 Map<String,String> getEnvironment()
           
 String getJavaOpts()
           
 Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getLocalResources()
           
 boolean isExactMatch(ContainerContext otherContext)
           
 boolean isSuperSet(ContainerContext otherContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.