You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2020/04/07 14:04:23 UTC

[GitHub] [hadoop] jojochuang commented on issue #1829: HDFS-14743. Enhance INodeAttributeProvider/ AccessControlEnforcer Interface in HDFS to support Authorization of mkdir, rm, rmdir, copy, move etc...

jojochuang commented on issue #1829: HDFS-14743. Enhance INodeAttributeProvider/ AccessControlEnforcer Interface in HDFS to support Authorization of mkdir, rm, rmdir, copy, move etc...
URL: https://github.com/apache/hadoop/pull/1829#issuecomment-610406367
 
 
   Hi @tasanuma do you have RBF?
   I don't see this message in my test cluster (we don't have RBF) and wonder if it comes from RBF.
   
   Not familiar with RBF but if each RPC call results in one permission checker object I can see why there are many messages.
   ` /**
      * Get a new permission checker used for making mount table access
      * control. This method will be invoked during each RPC call in router
      * admin server.
      *
      * @return Router permission checker.
      * @throws AccessControlException If the user is not authorized.
      */
     public static RouterPermissionChecker getPermissionChecker()
         throws AccessControlException {
       if (!isPermissionEnabled) {
         return null;
       }
   
       try {
         return new RouterPermissionChecker(routerOwner, superGroup,
             NameNode.getRemoteUser());
       } catch (IOException e) {
         throw new AccessControlException(e);
       }
     }`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org