org.apache.hadoop.yarn.api.impl.pb.client
Class RMAdminProtocolPBClientImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.impl.pb.client.RMAdminProtocolPBClientImpl
All Implemented Interfaces:
org.apache.hadoop.tools.GetUserMappingsProtocol, org.apache.hadoop.yarn.api.RMAdminProtocol

public class RMAdminProtocolPBClientImpl
extends Object
implements org.apache.hadoop.yarn.api.RMAdminProtocol


Field Summary
 
Fields inherited from interface org.apache.hadoop.tools.GetUserMappingsProtocol
versionID
 
Constructor Summary
RMAdminProtocolPBClientImpl(long clientVersion, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 String[] getGroupsForUser(String user)
           
 org.apache.hadoop.yarn.api.protocolrecords.RefreshAdminAclsResponse refreshAdminAcls(org.apache.hadoop.yarn.api.protocolrecords.RefreshAdminAclsRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.RefreshNodesResponse refreshNodes(org.apache.hadoop.yarn.api.protocolrecords.RefreshNodesRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.RefreshQueuesResponse refreshQueues(org.apache.hadoop.yarn.api.protocolrecords.RefreshQueuesRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.RefreshServiceAclsResponse refreshServiceAcls(org.apache.hadoop.yarn.api.protocolrecords.RefreshServiceAclsRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.RefreshSuperUserGroupsConfigurationResponse refreshSuperUserGroupsConfiguration(org.apache.hadoop.yarn.api.protocolrecords.RefreshSuperUserGroupsConfigurationRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.RefreshUserToGroupsMappingsResponse refreshUserToGroupsMappings(org.apache.hadoop.yarn.api.protocolrecords.RefreshUserToGroupsMappingsRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMAdminProtocolPBClientImpl

public RMAdminProtocolPBClientImpl(long clientVersion,
                                   InetSocketAddress addr,
                                   org.apache.hadoop.conf.Configuration conf)
                            throws IOException
Throws:
IOException
Method Detail

refreshQueues

public org.apache.hadoop.yarn.api.protocolrecords.RefreshQueuesResponse refreshQueues(org.apache.hadoop.yarn.api.protocolrecords.RefreshQueuesRequest request)
                                                                               throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshQueues in interface org.apache.hadoop.yarn.api.RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshNodes

public org.apache.hadoop.yarn.api.protocolrecords.RefreshNodesResponse refreshNodes(org.apache.hadoop.yarn.api.protocolrecords.RefreshNodesRequest request)
                                                                             throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshNodes in interface org.apache.hadoop.yarn.api.RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshSuperUserGroupsConfiguration

public org.apache.hadoop.yarn.api.protocolrecords.RefreshSuperUserGroupsConfigurationResponse refreshSuperUserGroupsConfiguration(org.apache.hadoop.yarn.api.protocolrecords.RefreshSuperUserGroupsConfigurationRequest request)
                                                                                                                           throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshSuperUserGroupsConfiguration in interface org.apache.hadoop.yarn.api.RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshUserToGroupsMappings

public org.apache.hadoop.yarn.api.protocolrecords.RefreshUserToGroupsMappingsResponse refreshUserToGroupsMappings(org.apache.hadoop.yarn.api.protocolrecords.RefreshUserToGroupsMappingsRequest request)
                                                                                                           throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshUserToGroupsMappings in interface org.apache.hadoop.yarn.api.RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshAdminAcls

public org.apache.hadoop.yarn.api.protocolrecords.RefreshAdminAclsResponse refreshAdminAcls(org.apache.hadoop.yarn.api.protocolrecords.RefreshAdminAclsRequest request)
                                                                                     throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshAdminAcls in interface org.apache.hadoop.yarn.api.RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshServiceAcls

public org.apache.hadoop.yarn.api.protocolrecords.RefreshServiceAclsResponse refreshServiceAcls(org.apache.hadoop.yarn.api.protocolrecords.RefreshServiceAclsRequest request)
                                                                                         throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshServiceAcls in interface org.apache.hadoop.yarn.api.RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getGroupsForUser

public String[] getGroupsForUser(String user)
                          throws IOException
Specified by:
getGroupsForUser in interface org.apache.hadoop.tools.GetUserMappingsProtocol
Throws:
IOException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.