@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,org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration.class,org.springframework.boot.actuate.autoconfigure.EndpointMBeanExportAutoConfiguration.class,org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration.class}) public class YarnSubmitApplication extends AbstractClientApplication<org.apache.hadoop.yarn.api.records.ApplicationId,YarnSubmitApplication>
applicationBaseDir, applicationVersion, appProperties, profiles, sources
Constructor and Description |
---|
YarnSubmitApplication() |
Modifier and Type | Method and Description |
---|---|
YarnSubmitApplication |
applicationName(java.lang.String applicationName)
Sets the application name used for submit.
|
protected YarnSubmitApplication |
getThis()
Gets the instance of this defined by a sub-class.
|
org.apache.hadoop.yarn.api.records.ApplicationId |
run()
Run a
SpringApplication build by a
SpringApplicationBuilder using an empty args. |
org.apache.hadoop.yarn.api.records.ApplicationId |
run(java.lang.String... args)
Run a
SpringApplication build by a
SpringApplicationBuilder using an empty args. |
applicationBaseDir, applicationVersion, appProperties, profiles, sources
public org.apache.hadoop.yarn.api.records.ApplicationId run()
SpringApplication
build by a
SpringApplicationBuilder
using an empty args.run
in interface ClientApplicationRunner<org.apache.hadoop.yarn.api.records.ApplicationId>
run
in class AbstractClientApplication<org.apache.hadoop.yarn.api.records.ApplicationId,YarnSubmitApplication>
run(String...)
public org.apache.hadoop.yarn.api.records.ApplicationId run(java.lang.String... args)
SpringApplication
build by a
SpringApplicationBuilder
using an empty args.run
in interface ClientApplicationRunner<org.apache.hadoop.yarn.api.records.ApplicationId>
run
in class AbstractClientApplication<org.apache.hadoop.yarn.api.records.ApplicationId,YarnSubmitApplication>
args
- the argsprotected YarnSubmitApplication getThis()
AbstractClientApplication
getThis
in class AbstractClientApplication<org.apache.hadoop.yarn.api.records.ApplicationId,YarnSubmitApplication>
public YarnSubmitApplication applicationName(java.lang.String applicationName)
applicationName
- the application name