Search in sources :

Example 1 with TaskAttemptCompletionEventProtoOrBuilder

use of org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProtoOrBuilder in project hadoop by apache.

the class TaskAttemptCompletionEventPBImpl method getAttemptId.

@Override
public TaskAttemptId getAttemptId() {
    TaskAttemptCompletionEventProtoOrBuilder p = viaProto ? proto : builder;
    if (this.taskAttemptId != null) {
        return this.taskAttemptId;
    }
    if (!p.hasAttemptId()) {
        return null;
    }
    this.taskAttemptId = convertFromProtoFormat(p.getAttemptId());
    return this.taskAttemptId;
}
Also used : TaskAttemptCompletionEventProtoOrBuilder(org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProtoOrBuilder)

Aggregations

TaskAttemptCompletionEventProtoOrBuilder (org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProtoOrBuilder)1