public class ContainerLauncherContextImpl extends Object implements org.apache.tez.serviceplugins.api.ContainerLauncherContext
| Constructor and Description |
|---|
ContainerLauncherContextImpl(AppContext appContext,
TaskCommunicatorManagerInterface tal,
org.apache.tez.dag.api.UserPayload initialUserPayload) |
| Modifier and Type | Method and Description |
|---|---|
void |
containerCompleted(org.apache.hadoop.yarn.api.records.ContainerId containerId,
int exitStatus,
String diagnostics,
org.apache.tez.serviceplugins.api.TaskAttemptEndReason endReason) |
void |
containerLaunched(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
void |
containerLaunchFailed(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String diagnostics) |
void |
containerStopFailed(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String diagnostics) |
void |
containerStopRequested(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptId() |
org.apache.tez.dag.api.UserPayload |
getInitialUserPayload() |
int |
getNumNodes(String sourceName) |
Object |
getTaskCommunicatorMetaInfo(String taskCommName) |
public ContainerLauncherContextImpl(AppContext appContext, TaskCommunicatorManagerInterface tal, org.apache.tez.dag.api.UserPayload initialUserPayload)
public void containerLaunched(org.apache.hadoop.yarn.api.records.ContainerId containerId)
containerLaunched in interface org.apache.tez.serviceplugins.api.ContainerLauncherContextpublic void containerLaunchFailed(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String diagnostics)
containerLaunchFailed in interface org.apache.tez.serviceplugins.api.ContainerLauncherContextpublic void containerStopRequested(org.apache.hadoop.yarn.api.records.ContainerId containerId)
containerStopRequested in interface org.apache.tez.serviceplugins.api.ContainerLauncherContextpublic void containerStopFailed(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String diagnostics)
containerStopFailed in interface org.apache.tez.serviceplugins.api.ContainerLauncherContextpublic void containerCompleted(org.apache.hadoop.yarn.api.records.ContainerId containerId,
int exitStatus,
String diagnostics,
org.apache.tez.serviceplugins.api.TaskAttemptEndReason endReason)
containerCompleted in interface org.apache.tez.serviceplugins.api.ContainerLauncherContextpublic org.apache.tez.dag.api.UserPayload getInitialUserPayload()
getInitialUserPayload in interface org.apache.tez.serviceplugins.api.ContainerLauncherContextpublic int getNumNodes(String sourceName)
getNumNodes in interface org.apache.tez.serviceplugins.api.ContainerLauncherContextpublic org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
getApplicationAttemptId in interface org.apache.tez.serviceplugins.api.ContainerLauncherContextCopyright © 2016 Apache Software Foundation. All rights reserved.