|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface YarnAppmaster
Interface defining main application master methods needed for external launch implementations.
Method Summary | |
---|---|
void |
addAppmasterStateListener(AppmasterStateListener listener)
Adds the appmaster state listener. |
void |
setEnvironment(java.util.Map<java.lang.String,java.lang.String> environment)
Sets the environment variables. |
void |
setParameters(java.util.Properties parameters)
Sets parameters for the appmaster. |
void |
submitApplication()
Submit and run application. |
Method Detail |
---|
void submitApplication()
void setEnvironment(java.util.Map<java.lang.String,java.lang.String> environment)
environment
- the environment variablesvoid setParameters(java.util.Properties parameters)
parameters
- the parameters to setvoid addAppmasterStateListener(AppmasterStateListener listener)
listener
- the AppmasterStateListener
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |