org.apache.tez.client
Class AMConfiguration

java.lang.Object
  extended by org.apache.tez.client.AMConfiguration

public class AMConfiguration
extends Object


Constructor Summary
AMConfiguration(Map<String,String> env, Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources, TezConfiguration conf, org.apache.hadoop.security.Credentials credentials)
           
 
Method Summary
 TezConfiguration getAMConf()
           
 org.apache.hadoop.security.Credentials getCredentials()
           
 Map<String,String> getEnv()
           
 Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getLocalResources()
           
 String getQueueName()
           
 org.apache.hadoop.fs.Path getStagingDir()
           
 void isCompatible(AMConfiguration other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMConfiguration

public AMConfiguration(Map<String,String> env,
                       Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources,
                       TezConfiguration conf,
                       org.apache.hadoop.security.Credentials credentials)
Parameters:
env - environment for the AM
localResources - localResources which are required to run the AM
conf -
credentials - credentials which will be needed in the AM. This includes credentials which will be required to localize the specified localResources.
Method Detail

getStagingDir

public org.apache.hadoop.fs.Path getStagingDir()

getQueueName

public String getQueueName()

getEnv

public Map<String,String> getEnv()

getLocalResources

public Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getLocalResources()

getAMConf

public TezConfiguration getAMConf()

getCredentials

public org.apache.hadoop.security.Credentials getCredentials()

isCompatible

public void isCompatible(AMConfiguration other)


Copyright © 2014 Apache Software Foundation. All rights reserved.