Search in sources :

Example 1 with TaskIdProtoOrBuilder

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

the class TaskIdPBImpl method getJobId.

@Override
public synchronized JobId getJobId() {
    TaskIdProtoOrBuilder p = viaProto ? proto : builder;
    if (this.jobId != null) {
        return this.jobId;
    }
    if (!p.hasJobId()) {
        return null;
    }
    jobId = convertFromProtoFormat(p.getJobId());
    return jobId;
}
Also used : TaskIdProtoOrBuilder(org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProtoOrBuilder)

Aggregations

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