Class RouterUserProtocol

java.lang.Object
org.apache.hadoop.hdfs.server.federation.router.RouterUserProtocol
All Implemented Interfaces:
org.apache.hadoop.security.RefreshUserMappingsProtocol, org.apache.hadoop.tools.GetUserMappingsProtocol
Direct Known Subclasses:
RouterAsyncUserProtocol

public class RouterUserProtocol extends Object implements org.apache.hadoop.security.RefreshUserMappingsProtocol, org.apache.hadoop.tools.GetUserMappingsProtocol
Module that implements all the RPC calls in RefreshUserMappingsProtocol GetUserMappingsProtocol in the RouterRpcServer.
  • Constructor Details

  • Method Details

    • refreshUserToGroupsMappings

      public void refreshUserToGroupsMappings() throws IOException
      Specified by:
      refreshUserToGroupsMappings in interface org.apache.hadoop.security.RefreshUserMappingsProtocol
      Throws:
      IOException
    • refreshSuperUserGroupsConfiguration

      public void refreshSuperUserGroupsConfiguration() throws IOException
      Specified by:
      refreshSuperUserGroupsConfiguration in interface org.apache.hadoop.security.RefreshUserMappingsProtocol
      Throws:
      IOException
    • getGroupsForUser

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