@InterfaceAudience.Private @InterfaceStability.Unstable public class StartContainerRequestPBImpl extends StartContainerRequest
| Constructor and Description |
|---|
StartContainerRequestPBImpl() |
StartContainerRequestPBImpl(YarnServiceProtos.StartContainerRequestProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
ContainerLaunchContext |
getContainerLaunchContext()
Get the
ContainerLaunchContext for the container to be started
by the NodeManager. |
Token |
getContainerToken()
Get the container token to be used for authorization during starting
container.
|
YarnServiceProtos.StartContainerRequestProto |
getProto() |
int |
hashCode() |
void |
setContainerLaunchContext(ContainerLaunchContext containerLaunchContext)
Set the
ContainerLaunchContext for the container to be started
by the NodeManager |
void |
setContainerToken(Token containerToken) |
String |
toString() |
newInstancepublic StartContainerRequestPBImpl()
public StartContainerRequestPBImpl(YarnServiceProtos.StartContainerRequestProto proto)
public YarnServiceProtos.StartContainerRequestProto getProto()
public ContainerLaunchContext getContainerLaunchContext()
StartContainerRequestContainerLaunchContext for the container to be started
by the NodeManager.getContainerLaunchContext in class StartContainerRequestContainerLaunchContext for the container to be started
by the NodeManagerpublic void setContainerLaunchContext(ContainerLaunchContext containerLaunchContext)
StartContainerRequestContainerLaunchContext for the container to be started
by the NodeManagersetContainerLaunchContext in class StartContainerRequestcontainerLaunchContext - ContainerLaunchContext for the container to be
started by the NodeManagerpublic Token getContainerToken()
StartContainerRequestGet the container token to be used for authorization during starting container.
Note: NMToken will be used for authenticating communication with
NodeManager.
getContainerToken in class StartContainerRequestNMToken,
ContainerManagementProtocol.startContainers(StartContainersRequest)public void setContainerToken(Token containerToken)
setContainerToken in class StartContainerRequestCopyright © 2013 Apache Software Foundation. All rights reserved.