public class TaskCommunicatorWrapper extends Object
| Constructor and Description |
|---|
TaskCommunicatorWrapper(TaskCommunicator real) |
| Modifier and Type | Method and Description |
|---|---|
void |
dagComplete(int dagIdentifier) |
InetSocketAddress |
getAddress() |
String |
getCompletedLogsUrl(org.apache.tez.dag.records.TezTaskAttemptID attemptID,
org.apache.hadoop.yarn.api.records.NodeId containerNodeId) |
String |
getInProgressLogsUrl(org.apache.tez.dag.records.TezTaskAttemptID attemptID,
org.apache.hadoop.yarn.api.records.NodeId containerNodeId) |
Object |
getMetaInfo() |
TaskCommunicator |
getTaskCommunicator() |
void |
onVertexStateUpdated(org.apache.tez.dag.api.event.VertexStateUpdate stateUpdate) |
void |
registerContainerEnd(org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.tez.serviceplugins.api.ContainerEndReason endReason,
String diagnostics) |
void |
registerRunningContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String hostname,
int port) |
void |
registerRunningTaskAttempt(org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.tez.runtime.api.impl.TaskSpec taskSpec,
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> additionalResources,
org.apache.hadoop.security.Credentials credentials,
boolean credentialsChanged,
int priority) |
void |
unregisterRunningTaskAttempt(org.apache.tez.dag.records.TezTaskAttemptID taskAttemptID,
org.apache.tez.serviceplugins.api.TaskAttemptEndReason endReason,
String diagnostics) |
public TaskCommunicatorWrapper(TaskCommunicator real)
public void registerRunningContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String hostname,
int port)
throws Exception
Exceptionpublic void registerContainerEnd(org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.tez.serviceplugins.api.ContainerEndReason endReason,
@Nullable
String diagnostics)
throws Exception
Exceptionpublic void registerRunningTaskAttempt(org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.tez.runtime.api.impl.TaskSpec taskSpec,
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> additionalResources,
org.apache.hadoop.security.Credentials credentials,
boolean credentialsChanged,
int priority)
throws Exception
Exceptionpublic void unregisterRunningTaskAttempt(org.apache.tez.dag.records.TezTaskAttemptID taskAttemptID,
org.apache.tez.serviceplugins.api.TaskAttemptEndReason endReason,
@Nullable
String diagnostics)
throws Exception
Exceptionpublic InetSocketAddress getAddress() throws Exception
Exceptionpublic void onVertexStateUpdated(org.apache.tez.dag.api.event.VertexStateUpdate stateUpdate)
throws Exception
Exceptionpublic TaskCommunicator getTaskCommunicator()
public String getInProgressLogsUrl(org.apache.tez.dag.records.TezTaskAttemptID attemptID, org.apache.hadoop.yarn.api.records.NodeId containerNodeId) throws Exception
ExceptionCopyright © 2020 Apache Software Foundation. All rights reserved.