|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.yarn.boot.app.YarnBootClientInstallApplication
@Configuration @EnableAutoConfiguration(exclude={org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration.class,org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration.class,org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration.class,org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.class}) public class YarnBootClientInstallApplication
Generic Spring Boot client application used to install Spring Yarn Boot based apps into hdfs.
Installed application bundle is merely a collection of files inside a directory. All files in this directory is considered to belong to the bundle and directory should not have any other files or nested directories.
Constructor Summary | |
---|---|
YarnBootClientInstallApplication()
|
Method Summary | |
---|---|
YarnBootClientInstallApplication |
appId(java.lang.String appId)
Sets an appid to be used by a builder. |
YarnBootClientInstallApplication |
applicationsBaseDir(java.lang.String applicationsBaseDir)
Sets an Applications base directory to be used by a builder. |
YarnBootClientInstallApplication |
appProperties(java.util.Properties appProperties)
Sets application properties which will be passed into a Spring Boot environment. |
YarnBootClientInstallApplication |
configFile(java.lang.String configFileName,
java.util.Properties configProperties)
Associates a new Properties with a name. |
YarnBootClientInstallApplication |
profiles(java.lang.String... profiles)
Sets an additional profiles to be used when running an SpringApplication . |
void |
run(java.lang.String... args)
Run a SpringApplication build by a SpringApplicationBuilder . |
YarnBootClientInstallApplication |
sources(java.lang.Object... sources)
Sets an additional sources to by used when running an SpringApplication . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YarnBootClientInstallApplication()
Method Detail |
---|
public YarnBootClientInstallApplication appId(java.lang.String appId)
appId
- the appid
YarnBootClientInstallApplication
for chainingpublic YarnBootClientInstallApplication applicationsBaseDir(java.lang.String applicationsBaseDir)
applicationsBaseDir
- the applications base directory
YarnBootClientInstallApplication
for chainingpublic YarnBootClientInstallApplication sources(java.lang.Object... sources)
SpringApplication
.
sources
- the additional sources for Spring Application
YarnBootClientInstallApplication
for chainingpublic YarnBootClientInstallApplication profiles(java.lang.String... profiles)
SpringApplication
.
profiles
- the additional profiles for Spring Application
YarnBootClientInstallApplication
for chainingpublic YarnBootClientInstallApplication configFile(java.lang.String configFileName, java.util.Properties configProperties)
Properties
with a name. These properties will
be serialised into a common properties format with a given config
file name.
configFileName
- the config file nameconfigProperties
- the config properties
YarnBootClientInstallApplication
for chainingpublic YarnBootClientInstallApplication appProperties(java.util.Properties appProperties)
appProperties
- the app properties
YarnBootClientInstallApplication
for chainingpublic void run(java.lang.String... args)
SpringApplication
build by a SpringApplicationBuilder
.
args
- the Spring Application args
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |