public interface YarnAppmaster
| Modifier and Type | Method and Description |
|---|---|
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.
|
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