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;
}
Aggregations