org.apache.hadoop.yarn.event.Event<TaskAttemptEventType>public class TaskAttemptContainerLaunchedEvent extends TaskAttemptEvent
| Constructor | Description |
|---|---|
TaskAttemptContainerLaunchedEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id,
int shufflePort) |
Create a new TaskAttemptEvent.
|
TaskAttemptContainerLaunchedEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id,
java.util.Map<java.lang.String,java.nio.ByteBuffer> servicesMetaInfo) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.nio.ByteBuffer> |
getServicesMetaInfo() |
|
int |
getShufflePort() |
Get the port that the shuffle handler is listening on.
|
getTaskAttemptIDgetTimestamp, getType, toStringpublic TaskAttemptContainerLaunchedEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id,
int shufflePort)
id - the id of the task attemptshufflePort - the port that shuffle is listening on.public TaskAttemptContainerLaunchedEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id,
java.util.Map<java.lang.String,java.nio.ByteBuffer> servicesMetaInfo)
public int getShufflePort()
public java.util.Map<java.lang.String,java.nio.ByteBuffer> getServicesMetaInfo()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.