@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
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public RefreshQueuesResponse refreshQueues(RefreshQueuesRequest request) throws YarnException, IOException
refreshQueues
in interface ResourceManagerAdministrationProtocol
YarnException
IOException
public RefreshNodesResponse refreshNodes(RefreshNodesRequest request) throws YarnException, IOException
refreshNodes
in interface ResourceManagerAdministrationProtocol
YarnException
IOException
public RefreshSuperUserGroupsConfigurationResponse refreshSuperUserGroupsConfiguration(RefreshSuperUserGroupsConfigurationRequest request) throws YarnException, IOException
refreshSuperUserGroupsConfiguration
in interface ResourceManagerAdministrationProtocol
YarnException
IOException
public RefreshUserToGroupsMappingsResponse refreshUserToGroupsMappings(RefreshUserToGroupsMappingsRequest request) throws YarnException, IOException
refreshUserToGroupsMappings
in interface ResourceManagerAdministrationProtocol
YarnException
IOException
public RefreshAdminAclsResponse refreshAdminAcls(RefreshAdminAclsRequest request) throws YarnException, IOException
refreshAdminAcls
in interface ResourceManagerAdministrationProtocol
YarnException
IOException
public RefreshServiceAclsResponse refreshServiceAcls(RefreshServiceAclsRequest request) throws YarnException, IOException
refreshServiceAcls
in interface ResourceManagerAdministrationProtocol
YarnException
IOException
public String[] getGroupsForUser(String user) throws IOException
GetUserMappingsProtocol
getGroupsForUser
in interface GetUserMappingsProtocol
user
- The user to get the groups for.IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.