Search in sources :

Example 1 with TaskAttemptIdProtoOrBuilder

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

the class TaskAttemptIdPBImpl method getTaskId.

@Override
public synchronized TaskId getTaskId() {
    TaskAttemptIdProtoOrBuilder p = viaProto ? proto : builder;
    if (this.taskId != null) {
        return this.taskId;
    }
    if (!p.hasTaskId()) {
        return null;
    }
    taskId = convertFromProtoFormat(p.getTaskId());
    return taskId;
}
Also used : TaskAttemptIdProtoOrBuilder(org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptIdProtoOrBuilder)

Aggregations

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