@InterfaceAudience.Private public class ResourceManagerAdministrationProtocolPBClientImpl extends Object implements ResourceManagerAdministrationProtocol, Closeable
versionID| Constructor and Description |
|---|
ResourceManagerAdministrationProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf) |
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
getGroupsForUser in interface GetUserMappingsProtocolIOExceptionpublic UpdateNodeResourceResponse updateNodeResource(UpdateNodeResourceRequest request) throws YarnException, IOException
updateNodeResource in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionpublic AddToClusterNodeLabelsResponse addToClusterNodeLabels(AddToClusterNodeLabelsRequest request) throws YarnException, IOException
addToClusterNodeLabels in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionpublic RemoveFromClusterNodeLabelsResponse removeFromClusterNodeLabels(RemoveFromClusterNodeLabelsRequest request) throws YarnException, IOException
removeFromClusterNodeLabels in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionpublic ReplaceLabelsOnNodeResponse replaceLabelsOnNode(ReplaceLabelsOnNodeRequest request) throws YarnException, IOException
replaceLabelsOnNode in interface ResourceManagerAdministrationProtocolYarnExceptionIOExceptionCopyright © 2018 CERN. All Rights Reserved.