Spring for Apache Hadoop

org.springframework.yarn.support.console
Class ApplicationsReport

java.lang.Object
  extended by org.springframework.yarn.support.console.ApplicationsReport

public class ApplicationsReport
extends java.lang.Object

Utility class to build reports of applications. Report can either be based on states of applications in a resource manager or bundles in hdfs.

Effectively you should be able to use this class to know what applications has been installed into hdfs and thus can be deployed, and if deployed what are states of those. We also support various types of filters not to be too verbose on a console.

Author:
Janne Valkealahti

Nested Class Summary
static class ApplicationsReport.InstalledField
          Enums for installed applications fields.
static class ApplicationsReport.InstalledReportBuilder
          Builder for installed applications.
static class ApplicationsReport.SubmittedField
          Enums for submitted applications fields.
static class ApplicationsReport.SubmittedReportBuilder
          Builder for submitted applications.
 
Method Summary
static ApplicationsReport.InstalledReportBuilder installedReportBuilder()
          Create a new builder for installed applications.
static ApplicationsReport.SubmittedReportBuilder submittedReportBuilder()
          Create a new builder for submitted applications.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

submittedReportBuilder

public static ApplicationsReport.SubmittedReportBuilder submittedReportBuilder()
Create a new builder for submitted applications.

Returns:
the report builder for submitted applications

installedReportBuilder

public static ApplicationsReport.InstalledReportBuilder installedReportBuilder()
Create a new builder for installed applications.

Returns:
the report builder for installed applications

Spring for Apache Hadoop