Search in sources :

Example 1 with AMInfoProto

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));
    }
}
Also used : AMInfo(org.apache.hadoop.mapreduce.v2.api.records.AMInfo) AMInfoProto(org.apache.hadoop.mapreduce.v2.proto.MRProtos.AMInfoProto) JobReportProtoOrBuilder(org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobReportProtoOrBuilder)

Aggregations

AMInfo (org.apache.hadoop.mapreduce.v2.api.records.AMInfo)1 AMInfoProto (org.apache.hadoop.mapreduce.v2.proto.MRProtos.AMInfoProto)1 JobReportProtoOrBuilder (org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobReportProtoOrBuilder)1