use of org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptIdProto in project hadoop by apache.
the class TaskReportPBImpl method initRunningAttempts.
private void initRunningAttempts() {
if (this.runningAttempts != null) {
return;
}
TaskReportProtoOrBuilder p = viaProto ? proto : builder;
List<TaskAttemptIdProto> list = p.getRunningAttemptsList();
this.runningAttempts = new ArrayList<TaskAttemptId>();
for (TaskAttemptIdProto c : list) {
this.runningAttempts.add(convertFromProtoFormat(c));
}
}
Aggregations