|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.config.annotation.SpringYarnConfigurerAdapter org.springframework.yarn.boot.YarnContainerAutoConfiguration.SpringYarnConfig
@Configuration @EnableConfigurationProperties(value={SpringHadoopProperties.class,SpringYarnProperties.class,SpringYarnEnvProperties.class,SpringYarnContainerProperties.class}) @EnableYarn(enable=CONTAINER) public static class YarnContainerAutoConfiguration.SpringYarnConfig
Constructor Summary | |
---|---|
YarnContainerAutoConfiguration.SpringYarnConfig()
|
Method Summary | |
---|---|
void |
configure(YarnConfigConfigurer config)
Configure YarnConfiguration via YarnConfigBuilder builder. |
void |
configure(YarnContainerConfigurer container)
Configure YarnContainer via YarnContainerBuilder builder. |
Methods inherited from class org.springframework.yarn.config.annotation.SpringYarnConfigurerAdapter |
---|
configure, configure, configure, configure, configure, getAppmasterBuilder, getClientBuilder, getConfigBuilder, getContainerBuilder, getEnvironmentBuilder, getLocalizerBuilder, init, isAssignable, setObjectPostProcessor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YarnContainerAutoConfiguration.SpringYarnConfig()
Method Detail |
---|
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
builder
java.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
builder
java.lang.Exception
- if error occurred
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |