@InterfaceAudience.Public @InterfaceStability.Stable public interface StartContainerRequest
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
.
Modifier and Type | Method and Description |
---|---|
ContainerLaunchContext |
getContainerLaunchContext()
Get the
ContainerLaunchContext for the container to be started
by the NodeManager . |
void |
setContainerLaunchContext(ContainerLaunchContext context)
Set the
ContainerLaunchContext for the container to be started
by the NodeManager |
@InterfaceAudience.Public @InterfaceStability.Stable 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 void setContainerLaunchContext(ContainerLaunchContext context)
ContainerLaunchContext
for the container to be started
by the NodeManager
context
- ContainerLaunchContext
for the container to be
started by the NodeManager
Copyright © 2014 Apache Software Foundation. All Rights Reserved.