|
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<YarnInfoApplication> org.springframework.yarn.boot.app.YarnInfoApplication
@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
Generic Spring Yarn Boot application handling reporting.
Nested Class Summary | |
---|---|
static class |
YarnInfoApplication.Operation
|
static class |
YarnInfoApplication.OperationProperties
|
Field Summary |
---|
Fields inherited from class org.springframework.yarn.boot.app.AbstractClientApplication |
---|
applicationBaseDir, applicationVersion, appProperties, profiles, sources |
Constructor Summary | |
---|---|
YarnInfoApplication()
|
Method Summary | |
---|---|
protected java.lang.String |
getInstalledReport(org.springframework.context.ApplicationContext context)
Build the report for installed applications. |
protected java.lang.String |
getSubmittedReport(YarnClient client,
boolean verbose,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.String> headers)
Build the report for submitted applications. |
protected YarnInfoApplication |
getThis()
Gets the instance of this defined by a sub-class. |
java.lang.String |
run()
Run a SpringApplication build by a
SpringApplicationBuilder using an empty args. |
java.lang.String |
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 YarnInfoApplication()
Method Detail |
---|
public java.lang.String run()
SpringApplication
build by a
SpringApplicationBuilder
using an empty args.
run(String...)
public java.lang.String run(java.lang.String... args)
SpringApplication
build by a SpringApplicationBuilder
.
args
- the Spring Application argsprotected java.lang.String getInstalledReport(org.springframework.context.ApplicationContext context) throws java.lang.Exception
context
- the application context
java.lang.Exception
- the exceptionprotected java.lang.String getSubmittedReport(YarnClient client, boolean verbose, java.lang.String type, java.util.Map<java.lang.String,java.lang.String> headers)
client
- the clientverbose
- the verbosetype
- the typeheaders
- the headers
protected YarnInfoApplication getThis()
AbstractClientApplication
getThis
in class AbstractClientApplication<YarnInfoApplication>
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |