Search in sources :

Example 1 with GetQueueUserAclsInfoResponseProtoOrBuilder

use of org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProtoOrBuilder 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