Search in sources :

Example 1 with QueueUserACLInfoProto

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

the class GetQueueUserAclsInfoResponsePBImpl method initLocalQueueUserAclsList.

// Once this is called. containerList will never be null - until a getProto
// is called.
private void initLocalQueueUserAclsList() {
    if (this.queueUserAclsInfoList != null) {
        return;
    }
    GetQueueUserAclsInfoResponseProtoOrBuilder p = viaProto ? proto : builder;
    List<QueueUserACLInfoProto> list = p.getQueueUserAclsList();
    queueUserAclsInfoList = new ArrayList<QueueUserACLInfo>();
    for (QueueUserACLInfoProto a : list) {
        queueUserAclsInfoList.add(convertFromProtoFormat(a));
    }
}
Also used : QueueUserACLInfoProto(org.apache.hadoop.yarn.proto.YarnProtos.QueueUserACLInfoProto) GetQueueUserAclsInfoResponseProtoOrBuilder(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProtoOrBuilder) QueueUserACLInfo(org.apache.hadoop.yarn.api.records.QueueUserACLInfo)

Aggregations

QueueUserACLInfo (org.apache.hadoop.yarn.api.records.QueueUserACLInfo)1 QueueUserACLInfoProto (org.apache.hadoop.yarn.proto.YarnProtos.QueueUserACLInfoProto)1 GetQueueUserAclsInfoResponseProtoOrBuilder (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProtoOrBuilder)1