|
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.YarnClientAutoConfiguration.SpringYarnConfig
@Configuration @EnableConfigurationProperties(value={SpringHadoopProperties.class,SpringYarnProperties.class,SpringYarnEnvProperties.class,SpringYarnClientProperties.class,SpringYarnClientLaunchContextProperties.class,SpringYarnClientLocalizerProperties.class,SpringYarnClientResourceProperties.class}) @EnableYarn(enable=CLIENT) public static class YarnClientAutoConfiguration.SpringYarnConfig
Constructor Summary | |
---|---|
YarnClientAutoConfiguration.SpringYarnConfig()
|
Method Summary | |
---|---|
void |
configure(YarnClientConfigurer client)
Configure YarnClient via YarnClientBuilder builder. |
void |
configure(YarnConfigConfigurer config)
Configure YarnConfiguration via YarnConfigBuilder builder. |
void |
configure(YarnEnvironmentConfigurer environment)
Configure Map of environment via YarnEnvironmentBuilder builder. |
void |
configure(YarnResourceLocalizerConfigurer localizer)
Configure ResourceLocalizer via YarnResourceLocalizerBuilder builder. |
Methods inherited from class org.springframework.yarn.config.annotation.SpringYarnConfigurerAdapter |
---|
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 YarnClientAutoConfiguration.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(YarnResourceLocalizerConfigurer localizer) throws java.lang.Exception
SpringYarnConfigurer
ResourceLocalizer
via YarnResourceLocalizerBuilder
builder.
configure
in interface SpringYarnConfigurer
configure
in class SpringYarnConfigurerAdapter
localizer
- the ResourceLocalizer
builder
java.lang.Exception
- if error occurredpublic void configure(YarnEnvironmentConfigurer environment) throws java.lang.Exception
SpringYarnConfigurer
Map
of environment via YarnEnvironmentBuilder
builder.
configure
in interface SpringYarnConfigurer
configure
in class SpringYarnConfigurerAdapter
environment
- the YarnEnvironmentBuilder
builder
java.lang.Exception
- if error occurredpublic void configure(YarnClientConfigurer client) throws java.lang.Exception
SpringYarnConfigurer
YarnClient
via YarnClientBuilder
builder.
configure
in interface SpringYarnConfigurer
configure
in class SpringYarnConfigurerAdapter
client
- the YarnClientBuilder
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 |