@InterfaceAudience.Private public class ResourceManagerAdministrationProtocolPBClientImpl extends Object implements ResourceManagerAdministrationProtocol, Closeable
versionID| Constructor and Description |
|---|
ResourceManagerAdministrationProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String[] |
getGroupsForUser(String user)
Get the groups which are mapped to the given user.
|
RefreshAdminAclsResponse |
refreshAdminAcls(RefreshAdminAclsRequest request) |
RefreshNodesResponse |
refreshNodes(RefreshNodesRequest request) |
RefreshQueuesResponse |
refreshQueues(RefreshQueuesRequest request) |
RefreshServiceAclsResponse |
refreshServiceAcls(RefreshServiceAclsRequest request) |
RefreshSuperUserGroupsConfigurationResponse |
refreshSuperUserGroupsConfiguration(RefreshSuperUserGroupsConfigurationRequest request) |
RefreshUserToGroupsMappingsResponse |
refreshUserToGroupsMappings(RefreshUserToGroupsMappingsRequest request) |
public ResourceManagerAdministrationProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf)
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic RefreshQueuesResponse refreshQueues(RefreshQueuesRequest request) throws YarnException, IOException
refreshQueues in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionpublic RefreshNodesResponse refreshNodes(RefreshNodesRequest request) throws YarnException, IOException
refreshNodes in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionpublic RefreshSuperUserGroupsConfigurationResponse refreshSuperUserGroupsConfiguration(RefreshSuperUserGroupsConfigurationRequest request) throws YarnException, IOException
refreshSuperUserGroupsConfiguration in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionpublic RefreshUserToGroupsMappingsResponse refreshUserToGroupsMappings(RefreshUserToGroupsMappingsRequest request) throws YarnException, IOException
refreshUserToGroupsMappings in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionpublic RefreshAdminAclsResponse refreshAdminAcls(RefreshAdminAclsRequest request) throws YarnException, IOException
refreshAdminAcls in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionpublic RefreshServiceAclsResponse refreshServiceAcls(RefreshServiceAclsRequest request) throws YarnException, IOException
refreshServiceAcls in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionpublic String[] getGroupsForUser(String user) throws IOException
GetUserMappingsProtocolgetGroupsForUser in interface GetUserMappingsProtocoluser - The user to get the groups for.IOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.