@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 YarnInfoApplication extends AbstractClientApplication<YarnInfoApplication>
| Modifier and Type | Class and Description |
|---|---|
static class |
YarnInfoApplication.Operation |
static class |
YarnInfoApplication.OperationProperties |
applicationBaseDir, applicationVersion, appProperties, profiles, sources| Constructor and Description |
|---|
YarnInfoApplication() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getInstalledReport(ApplicationContext context)
Build the report for installed applications.
|
protected String |
getSubmittedReport(org.springframework.yarn.client.YarnClient client,
boolean verbose,
String type,
Map<String,String> headers)
Build the report for submitted applications.
|
protected YarnInfoApplication |
getThis()
Gets the instance of this defined by a sub-class.
|
String |
run()
Run a
SpringApplication build by a
SpringApplicationBuilder using an empty args. |
String |
run(String... args)
Run a
SpringApplication build by a SpringApplicationBuilder. |
applicationBaseDir, applicationVersion, appProperties, profiles, sourcespublic String run()
SpringApplication build by a
SpringApplicationBuilder using an empty args.run(String...)public String run(String... args)
SpringApplication build by a SpringApplicationBuilder.args - the Spring Application argsprotected String getInstalledReport(ApplicationContext context) throws Exception
context - the application contextException - the exceptionprotected String getSubmittedReport(org.springframework.yarn.client.YarnClient client, boolean verbose, String type, Map<String,String> headers)
client - the clientverbose - the verbosetype - the typeheaders - the headersprotected YarnInfoApplication getThis()
AbstractClientApplicationgetThis in class AbstractClientApplication<YarnInfoApplication>