Search in sources :

Example 1 with GetTaskAttemptCompletionEventsRequestProtoOrBuilder

use of org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProtoOrBuilder in project hadoop by apache.

the class GetTaskAttemptCompletionEventsRequestPBImpl method getJobId.

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

Aggregations

GetTaskAttemptCompletionEventsRequestProtoOrBuilder (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProtoOrBuilder)1