Example usage for org.apache.hadoop.yarn.server.resourcemanager RMServerUtils verifyAdminAccess

List of usage examples for org.apache.hadoop.yarn.server.resourcemanager RMServerUtils verifyAdminAccess

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.server.resourcemanager RMServerUtils verifyAdminAccess.

Prototype

public static UserGroupInformation verifyAdminAccess(YarnAuthorizationProvider authorizer, String method,
            final Log LOG) throws IOException 

Source Link

Usage

From source file:io.hops.util.GroupMembershipService.java

License:Apache License

private UserGroupInformation checkAccess(String method) throws IOException {
    return RMServerUtils.verifyAdminAccess(authorizer, method, LOG);
}