@InterfaceAudience.Public @InterfaceStability.Stable public abstract class StartContainersRequest extends Object
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
.
Constructor and Description |
---|
StartContainersRequest() |
Modifier and Type | Method and Description |
---|---|
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. |
public StartContainersRequest()
@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 containersCopyright © 2018 Apache Software Foundation. All rights reserved.