|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface YarnContainer
A simple interface for container implementations which should work together with rest of the framework when something in a container should be executed.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||