Class ContainerLaunchService.ComponentLaunchContext
java.lang.Object
org.apache.hadoop.yarn.service.containerlaunch.ContainerLaunchService.ComponentLaunchContext
- Enclosing class:
- ContainerLaunchService
Launch context of a component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()booleansetArtifact(Artifact artifact) setConfiguration(Configuration configuration) setLaunchCommand(String launchCommand) setRunPrivilegedContainer(boolean runPrivilegedContainer)
-
Constructor Details
-
ComponentLaunchContext
-
-
Method Details
-
getName
-
getServiceVersion
-
getArtifact
-
getConfiguration
-
getLaunchCommand
-
isRunPrivilegedContainer
public boolean isRunPrivilegedContainer() -
setArtifact
-
setConfiguration
-
setLaunchCommand
-
setRunPrivilegedContainer
public ContainerLaunchService.ComponentLaunchContext setRunPrivilegedContainer(boolean runPrivilegedContainer)
-