@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() |
newInstance
public StartContainerRequestPBImpl()
public StartContainerRequestPBImpl(YarnServiceProtos.StartContainerRequestProto proto)
public YarnServiceProtos.StartContainerRequestProto getProto()
public ContainerLaunchContext getContainerLaunchContext()
StartContainerRequest
ContainerLaunchContext
for the container to be started
by the NodeManager
.getContainerLaunchContext
in class StartContainerRequest
ContainerLaunchContext
for the container to be started
by the NodeManager
public void setContainerLaunchContext(ContainerLaunchContext containerLaunchContext)
StartContainerRequest
ContainerLaunchContext
for the container to be started
by the NodeManager
setContainerLaunchContext
in class StartContainerRequest
containerLaunchContext
- ContainerLaunchContext
for the container to be
started by the NodeManager
public Token getContainerToken()
StartContainerRequest
Get the container token to be used for authorization during starting container.
Note: NMToken
will be used for authenticating communication with
NodeManager.
getContainerToken
in class StartContainerRequest
NMToken
,
ContainerManagementProtocol.startContainers(StartContainersRequest)
public void setContainerToken(Token containerToken)
setContainerToken
in class StartContainerRequest
Copyright © 2013 Apache Software Foundation. All rights reserved.