Search in sources :

Example 1 with GetTaskAttemptReportResponseProtoOrBuilder

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

the class GetTaskAttemptReportResponsePBImpl method getTaskAttemptReport.

@Override
public TaskAttemptReport getTaskAttemptReport() {
    GetTaskAttemptReportResponseProtoOrBuilder p = viaProto ? proto : builder;
    if (this.taskAttemptReport != null) {
        return this.taskAttemptReport;
    }
    if (!p.hasTaskAttemptReport()) {
        return null;
    }
    this.taskAttemptReport = convertFromProtoFormat(p.getTaskAttemptReport());
    return this.taskAttemptReport;
}
Also used : GetTaskAttemptReportResponseProtoOrBuilder(org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptReportResponseProtoOrBuilder)

Aggregations

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