|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.yarn.api.protocolrecords.StartContainersRequest
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class StartContainersRequest
The request which contains a list of StartContainerRequest
sent by
the ApplicationMaster
to the NodeManager
to
start containers.
In each StartContainerRequest
, the ApplicationMaster
has
to provide details such as allocated resource capability, security tokens (if
enabled), command to be executed to start the container, environment for the
process, necessary binaries/jar/shared-objects etc. via the
ContainerLaunchContext
.
ContainerManagementProtocol.startContainers(StartContainersRequest)
Constructor Summary | |
---|---|
StartContainersRequest()
|
Method Summary | |
---|---|
abstract List<StartContainerRequest> |
getStartContainerRequests()
Get a list of StartContainerRequest to start containers. |
static StartContainersRequest |
newInstance(List<StartContainerRequest> requests)
|
abstract void |
setStartContainerRequests(List<StartContainerRequest> request)
Set a list of StartContainerRequest to start containers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StartContainersRequest()
Method Detail |
---|
@InterfaceAudience.Public @InterfaceStability.Stable public static StartContainersRequest newInstance(List<StartContainerRequest> requests)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<StartContainerRequest> getStartContainerRequests()
StartContainerRequest
to start containers.
StartContainerRequest
to start containers.@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setStartContainerRequests(List<StartContainerRequest> request)
StartContainerRequest
to start containers.
request
- a list of StartContainerRequest
to start containers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |