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