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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to