Search in sources :

Example 1 with QueueACLProto

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

the class QueueUserACLInfoPBImpl method initLocalQueueUserAclsList.

private void initLocalQueueUserAclsList() {
    if (this.userAclsList != null) {
        return;
    }
    QueueUserACLInfoProtoOrBuilder p = viaProto ? proto : builder;
    List<QueueACLProto> list = p.getUserAclsList();
    userAclsList = new ArrayList<QueueACL>();
    for (QueueACLProto a : list) {
        userAclsList.add(convertFromProtoFormat(a));
    }
}
Also used : QueueACLProto(org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto) QueueUserACLInfoProtoOrBuilder(org.apache.hadoop.yarn.proto.YarnProtos.QueueUserACLInfoProtoOrBuilder) QueueACL(org.apache.hadoop.yarn.api.records.QueueACL)

Aggregations

QueueACL (org.apache.hadoop.yarn.api.records.QueueACL)1 QueueACLProto (org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto)1 QueueUserACLInfoProtoOrBuilder (org.apache.hadoop.yarn.proto.YarnProtos.QueueUserACLInfoProtoOrBuilder)1