Spring for Apache Hadoop

org.springframework.yarn.am
Interface YarnAppmaster

All Known Implementing Classes:
BatchAppmaster, StaticAppmaster, StaticEventingAppmaster

public interface YarnAppmaster

Interface defining main application master methods needed for external launch implementations.

Author:
Janne Valkealahti

Method Summary
 void addAppmasterStateListener(AppmasterStateListener listener)
          Adds the appmaster state listener.
 void setParameters(java.util.Properties parameters)
          Sets parameters for the application.
 void submitApplication()
          Submit and run application.
 

Method Detail

submitApplication

void submitApplication()
Submit and run application.


setParameters

void setParameters(java.util.Properties parameters)
Sets parameters for the application.

Parameters:
parameters - the parameters to set

addAppmasterStateListener

void addAppmasterStateListener(AppmasterStateListener listener)
Adds the appmaster state listener.

Parameters:
listener - the AppmasterStateListener

Spring for Apache Hadoop