org.springframework.yarn.config.annotation
Class SpringYarnConfigs
java.lang.Object
org.springframework.yarn.config.annotation.SpringYarnConfigs
public class SpringYarnConfigs
- extends java.lang.Object
A holder object for all configured configs for Spring Yarn.
- Author:
- Janne Valkealahti
Constructor Summary |
SpringYarnConfigs()
Instantiates a new spring yarn configs. |
SpringYarnConfigs(org.apache.hadoop.conf.Configuration configuration,
ResourceLocalizer localizer,
java.util.Map<java.lang.String,java.lang.String> environment)
Instantiates a new spring yarn configs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringYarnConfigs
public SpringYarnConfigs()
- Instantiates a new spring yarn configs.
SpringYarnConfigs
public SpringYarnConfigs(org.apache.hadoop.conf.Configuration configuration,
ResourceLocalizer localizer,
java.util.Map<java.lang.String,java.lang.String> environment)
- Instantiates a new spring yarn configs.
- Parameters:
configuration
- the configurationlocalizer
- the localizerenvironment
- the environment
getConfiguration
public org.apache.hadoop.conf.Configuration getConfiguration()
setConfiguration
public void setConfiguration(org.apache.hadoop.conf.Configuration configuration)
getLocalizer
public ResourceLocalizer getLocalizer()
setLocalizer
public void setLocalizer(ResourceLocalizer localizer)
getEnvironment
public java.util.Map<java.lang.String,java.lang.String> getEnvironment()
setEnvironment
public void setEnvironment(java.util.Map<java.lang.String,java.lang.String> environment)
getYarnClient
public YarnClient getYarnClient()
setYarnClient
public void setYarnClient(YarnClient yarnClient)
getYarnAppmaster
public YarnAppmaster getYarnAppmaster()
setYarnAppmaster
public void setYarnAppmaster(YarnAppmaster yarnAppmaster)
getYarnContainer
public YarnContainer getYarnContainer()
setYarnContainer
public void setYarnContainer(YarnContainer yarnContainer)