public interface YarnContainer
Modifier and Type | Method and Description |
---|---|
void |
run()
This method is called when something is ran
in a container.
|
void |
setEnvironment(java.util.Map<java.lang.String,java.lang.String> environment)
Sets the environment variables.
|
void |
setParameters(java.util.Properties parameters)
Sets the parameters.
|
void run()
void setEnvironment(java.util.Map<java.lang.String,java.lang.String> environment)
environment
- the environment variablesvoid setParameters(java.util.Properties parameters)
parameters
- the parameters