@InterfaceAudience.Public @InterfaceStability.Unstable public class ContainerLaunchRequest extends ContainerLauncherOperationBase
Constructor and Description |
---|
ContainerLaunchRequest(org.apache.hadoop.yarn.api.records.NodeId nodeId,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.Token containerToken,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext clc,
org.apache.hadoop.yarn.api.records.Container container,
String schedulerName,
String taskCommName) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.records.ContainerLaunchContext |
getContainerLaunchContext()
The
ContainerLauncherContext for the container being launched |
String |
getSchedulerName()
Get the name of the scheduler which allocated this container.
|
String |
getTaskCommunicatorName()
Get the name of the task communicator which will be used to communicate
with the task that will run in this container.
|
String |
toString() |
getContainerId, getContainerToken, getNodeId
public ContainerLaunchRequest(org.apache.hadoop.yarn.api.records.NodeId nodeId, org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.Token containerToken, org.apache.hadoop.yarn.api.records.ContainerLaunchContext clc, org.apache.hadoop.yarn.api.records.Container container, String schedulerName, String taskCommName)
public org.apache.hadoop.yarn.api.records.ContainerLaunchContext getContainerLaunchContext()
ContainerLauncherContext
for the container being launchedpublic String getTaskCommunicatorName()
public String getSchedulerName()
public String toString()
toString
in class ContainerLauncherOperationBase
Copyright © 2024 Apache Software Foundation. All rights reserved.