|
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.boot.app.AbstractClientApplication<YarnPushApplication> org.springframework.yarn.boot.app.YarnPushApplication
@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 YarnPushApplication
Generic Spring Boot client application used to push Spring Yarn Boot based apps into hdfs.
Pushed 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.
Field Summary |
---|
Fields inherited from class org.springframework.yarn.boot.app.AbstractClientApplication |
---|
applicationBaseDir, applicationVersion, appProperties, profiles, sources |
Constructor Summary | |
---|---|
YarnPushApplication()
|
Method Summary | |
---|---|
YarnPushApplication |
configFile(java.lang.String configFileName,
java.util.Properties configProperties)
Associates a new Properties with a name. |
protected YarnPushApplication |
getThis()
Gets the instance of this defined by a sub-class. |
void |
run()
Run a SpringApplication build by a
SpringApplicationBuilder using an empty args. |
void |
run(java.lang.String... args)
Run a SpringApplication build by a SpringApplicationBuilder . |
Methods inherited from class org.springframework.yarn.boot.app.AbstractClientApplication |
---|
applicationBaseDir, applicationVersion, appProperties, profiles, sources |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YarnPushApplication()
Method Detail |
---|
public YarnPushApplication 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
YarnPushApplication
for chainingpublic void run()
SpringApplication
build by a
SpringApplicationBuilder
using an empty args.
run(String...)
public void run(java.lang.String... args)
SpringApplication
build by a SpringApplicationBuilder
.
args
- the Spring Application argsprotected YarnPushApplication getThis()
AbstractClientApplication
getThis
in class AbstractClientApplication<YarnPushApplication>
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |