TaskAttemptCompletionEventpublic class TaskAttemptCompletionEventPBImpl extends org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto> implements TaskAttemptCompletionEvent
| Constructor | Description |
|---|---|
TaskAttemptCompletionEventPBImpl() |
|
TaskAttemptCompletionEventPBImpl(org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.nio.ByteBuffer |
convertGeneralFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) |
|
static org.apache.hadoop.thirdparty.protobuf.ByteString |
convertGeneralToProtoFormat(java.nio.ByteBuffer byteBuffer) |
|
TaskAttemptId |
getAttemptId() |
|
int |
getAttemptRunTime() |
|
int |
getEventId() |
|
java.lang.String |
getMapOutputServerAddress() |
|
org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto |
getProto() |
|
java.util.Map<java.lang.String,java.nio.ByteBuffer> |
getServicesMetaData() |
|
TaskAttemptCompletionEventStatus |
getStatus() |
|
void |
setAttemptId(TaskAttemptId attemptId) |
|
void |
setAttemptRunTime(int attemptRunTime) |
|
void |
setEventId(int eventId) |
|
void |
setMapOutputServerAddress(java.lang.String mapOutputServerAddress) |
|
void |
setServicesMetaData(java.util.Map<java.lang.String,java.nio.ByteBuffer> meta) |
|
void |
setStatus(TaskAttemptCompletionEventStatus status) |
public TaskAttemptCompletionEventPBImpl()
public TaskAttemptCompletionEventPBImpl(org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto proto)
public org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto getProto()
getProto in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto>public TaskAttemptId getAttemptId()
getAttemptId in interface TaskAttemptCompletionEventpublic void setAttemptId(TaskAttemptId attemptId)
setAttemptId in interface TaskAttemptCompletionEventpublic TaskAttemptCompletionEventStatus getStatus()
getStatus in interface TaskAttemptCompletionEventpublic void setStatus(TaskAttemptCompletionEventStatus status)
setStatus in interface TaskAttemptCompletionEventpublic java.lang.String getMapOutputServerAddress()
getMapOutputServerAddress in interface TaskAttemptCompletionEventpublic void setMapOutputServerAddress(java.lang.String mapOutputServerAddress)
setMapOutputServerAddress in interface TaskAttemptCompletionEventpublic int getAttemptRunTime()
getAttemptRunTime in interface TaskAttemptCompletionEventpublic void setAttemptRunTime(int attemptRunTime)
setAttemptRunTime in interface TaskAttemptCompletionEventpublic int getEventId()
getEventId in interface TaskAttemptCompletionEventpublic void setEventId(int eventId)
setEventId in interface TaskAttemptCompletionEventpublic static java.nio.ByteBuffer convertGeneralFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString)
public static org.apache.hadoop.thirdparty.protobuf.ByteString convertGeneralToProtoFormat(java.nio.ByteBuffer byteBuffer)
public java.util.Map<java.lang.String,java.nio.ByteBuffer> getServicesMetaData()
getServicesMetaData in interface TaskAttemptCompletionEventpublic void setServicesMetaData(java.util.Map<java.lang.String,java.nio.ByteBuffer> meta)
setServicesMetaData in interface TaskAttemptCompletionEventCopyright © 2008–2025 Apache Software Foundation. All rights reserved.