@InterfaceAudience.Public @InterfaceStability.Stable public abstract class StartContainerRequest extends Object
The request sent by the ApplicationMaster to the
 NodeManager to start a container.
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 | 
|---|
| StartContainerRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ContainerLaunchContext | getContainerLaunchContext()Get the  ContainerLaunchContextfor the container to be started
 by theNodeManager. | 
| abstract Token | getContainerToken()Get the container token to be used for authorization during starting
 container. | 
| static StartContainerRequest | newInstance(ContainerLaunchContext context,
           Token container) | 
| abstract void | setContainerLaunchContext(ContainerLaunchContext context)Set the  ContainerLaunchContextfor the container to be started
 by theNodeManager | 
| abstract void | setContainerToken(Token container) | 
@InterfaceAudience.Public @InterfaceStability.Stable public static StartContainerRequest newInstance(ContainerLaunchContext context, Token container)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ContainerLaunchContext getContainerLaunchContext()
ContainerLaunchContext for the container to be started
 by the NodeManager.ContainerLaunchContext for the container to be started
         by the NodeManager@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setContainerLaunchContext(ContainerLaunchContext context)
ContainerLaunchContext for the container to be started
 by the NodeManagercontext - ContainerLaunchContext for the container to be 
                started by the NodeManager@InterfaceAudience.Public @InterfaceStability.Stable public abstract Token getContainerToken()
 Note: NMToken will be used for authenticating communication with
 NodeManager.
NMToken, 
ContainerManagementProtocol.startContainers(StartContainersRequest)@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setContainerToken(Token container)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.