@Configuration @EnableConfigurationProperties(value={SpringHadoopProperties.class,SpringYarnProperties.class,SpringYarnEnvProperties.class,SpringYarnContainerProperties.class}) @EnableYarn(enable=CONTAINER) public static class YarnContainerAutoConfiguration.SpringYarnConfig extends SpringYarnConfigurerAdapter
Constructor and Description |
---|
YarnContainerAutoConfiguration.SpringYarnConfig() |
Modifier and Type | Method and Description |
---|---|
void |
configure(YarnConfigConfigurer config)
Configure
YarnConfiguration via YarnConfigBuilder builder. |
void |
configure(YarnContainerConfigurer container)
Configure
YarnContainer via YarnContainerBuilder builder. |
configure, configure, configure, configure, configure, getAppmasterBuilder, getClientBuilder, getConfigBuilder, getContainerBuilder, getEnvironmentBuilder, getLocalizerBuilder, init, isAssignable, setObjectPostProcessor
public YarnContainerAutoConfiguration.SpringYarnConfig()
public void configure(YarnConfigConfigurer config) throws java.lang.Exception
SpringYarnConfigurer
YarnConfiguration
via YarnConfigBuilder
builder.configure
in interface SpringYarnConfigurer
configure
in class SpringYarnConfigurerAdapter
config
- the YarnConfiguration
builderjava.lang.Exception
- if error occurredpublic void configure(YarnContainerConfigurer container) throws java.lang.Exception
SpringYarnConfigurer
YarnContainer
via YarnContainerBuilder
builder.configure
in interface SpringYarnConfigurer
configure
in class SpringYarnConfigurerAdapter
container
- the YarnContainerBuilder
builderjava.lang.Exception
- if error occurred