Search in sources :

Example 1 with QueueInfoProto

use of org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProto in project hadoop by apache.

the class QueueInfoPBImpl method initLocalChildQueuesList.

private void initLocalChildQueuesList() {
    if (this.childQueuesList != null) {
        return;
    }
    QueueInfoProtoOrBuilder p = viaProto ? proto : builder;
    List<QueueInfoProto> list = p.getChildQueuesList();
    childQueuesList = new ArrayList<QueueInfo>();
    for (QueueInfoProto a : list) {
        childQueuesList.add(convertFromProtoFormat(a));
    }
}
Also used : QueueInfo(org.apache.hadoop.yarn.api.records.QueueInfo) QueueInfoProto(org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProto) QueueInfoProtoOrBuilder(org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProtoOrBuilder)

Aggregations

QueueInfo (org.apache.hadoop.yarn.api.records.QueueInfo)1 QueueInfoProto (org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProto)1 QueueInfoProtoOrBuilder (org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProtoOrBuilder)1