Example usage for org.apache.hadoop.mapreduce TypeConverter fromYarnQueueUserAclsInfo

List of usage examples for org.apache.hadoop.mapreduce TypeConverter fromYarnQueueUserAclsInfo

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce TypeConverter fromYarnQueueUserAclsInfo.

Prototype

public static QueueAclsInfo[] fromYarnQueueUserAclsInfo(List<QueueUserACLInfo> userAcls) 

Source Link

Usage

From source file:org.apache.tez.mapreduce.client.ResourceMgrDelegate.java

License:Apache License

public QueueAclsInfo[] getQueueAclsForCurrentUser() throws IOException, InterruptedException {
    try {/*  w ww. j a v  a2s. com*/
        return TypeConverter.fromYarnQueueUserAclsInfo(client.getQueueAclsInfo());
    } catch (YarnException e) {
        throw new IOException(e);
    }
}