|
|||||||||
| 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(Map<String,String> environment)
Sets the environment variables. |
void |
setParameters(Properties parameters)
Sets parameters for the appmaster. |
void |
submitApplication()
Submit and run application. |
| Method Detail |
|---|
void submitApplication()
void setEnvironment(Map<String,String> environment)
environment - the environment variablesvoid setParameters(Properties parameters)
parameters - the parameters to setvoid addAppmasterStateListener(AppmasterStateListener listener)
listener - the AppmasterStateListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||