Search in sources :

Example 1 with ReportNewCollectorInfoRequestProtoOrBuilder

use of org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ReportNewCollectorInfoRequestProtoOrBuilder in project hadoop by apache.

the class ReportNewCollectorInfoRequestPBImpl method initLocalCollectorsList.

private void initLocalCollectorsList() {
    ReportNewCollectorInfoRequestProtoOrBuilder p = viaProto ? proto : builder;
    List<AppCollectorsMapProto> list = p.getAppCollectorsList();
    this.collectorsList = new ArrayList<AppCollectorsMap>();
    for (AppCollectorsMapProto m : list) {
        this.collectorsList.add(convertFromProtoFormat(m));
    }
}
Also used : AppCollectorsMap(org.apache.hadoop.yarn.server.api.records.AppCollectorsMap) ReportNewCollectorInfoRequestProtoOrBuilder(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ReportNewCollectorInfoRequestProtoOrBuilder) AppCollectorsMapProto(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.AppCollectorsMapProto)

Aggregations

AppCollectorsMapProto (org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.AppCollectorsMapProto)1 ReportNewCollectorInfoRequestProtoOrBuilder (org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ReportNewCollectorInfoRequestProtoOrBuilder)1 AppCollectorsMap (org.apache.hadoop.yarn.server.api.records.AppCollectorsMap)1