use of org.apache.hadoop.mapreduce.v2.proto.MRProtos.AMInfoProto in project hadoop by apache.
the class JobReportPBImpl method initAMInfos.
private synchronized void initAMInfos() {
if (this.amInfos != null) {
return;
}
JobReportProtoOrBuilder p = viaProto ? proto : builder;
List<AMInfoProto> list = p.getAmInfosList();
this.amInfos = new ArrayList<AMInfo>();
for (AMInfoProto amInfoProto : list) {
this.amInfos.add(convertFromProtoFormat(amInfoProto));
}
}
Aggregations