org.apache.tez.client
Class AMConfiguration
java.lang.Object
org.apache.tez.client.AMConfiguration
public class AMConfiguration
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 AMlocalResources - localResources which are required to run the AMconf - credentials - credentials which will be needed in the AM. This includes
credentials which will be required to localize the specified
localResources.
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.