public class SpringYarnConfigs
extends java.lang.Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration() |
java.util.Map<java.lang.String,java.lang.String> |
getEnvironment() |
ResourceLocalizer |
getLocalizer() |
YarnAppmaster |
getYarnAppmaster() |
YarnClient |
getYarnClient() |
YarnContainer |
getYarnContainer() |
void |
setConfiguration(org.apache.hadoop.conf.Configuration configuration) |
void |
setEnvironment(java.util.Map<java.lang.String,java.lang.String> environment) |
void |
setLocalizer(ResourceLocalizer localizer) |
void |
setYarnAppmaster(YarnAppmaster yarnAppmaster) |
void |
setYarnClient(YarnClient yarnClient) |
void |
setYarnContainer(YarnContainer yarnContainer) |
public SpringYarnConfigs()
public SpringYarnConfigs(org.apache.hadoop.conf.Configuration configuration, ResourceLocalizer localizer, java.util.Map<java.lang.String,java.lang.String> environment)
configuration
- the configurationlocalizer
- the localizerenvironment
- the environmentpublic org.apache.hadoop.conf.Configuration getConfiguration()
public void setConfiguration(org.apache.hadoop.conf.Configuration configuration)
public ResourceLocalizer getLocalizer()
public void setLocalizer(ResourceLocalizer localizer)
public java.util.Map<java.lang.String,java.lang.String> getEnvironment()
public void setEnvironment(java.util.Map<java.lang.String,java.lang.String> environment)
public YarnClient getYarnClient()
public void setYarnClient(YarnClient yarnClient)
public YarnAppmaster getYarnAppmaster()
public void setYarnAppmaster(YarnAppmaster yarnAppmaster)
public YarnContainer getYarnContainer()
public void setYarnContainer(YarnContainer yarnContainer)