wecharyu opened a new pull request, #6047:
URL: https://github.com/apache/hive/pull/6047

   ### What changes were proposed in this pull request?
   Use filesystem's `access()` api to check permission.
   
   
   ### Why are the changes needed?
   The permission modes vary in different filesystems, we could not just check 
permissions based on the group mode.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Removed the `supergroup` test and add a new test in `TestHdfsUtils`.
   ```bash
   mvn test -Dtest.groups= 
-Dtest=org.apache.hadoop.hive.metastore.utils.TestHdfsUtils -pl 
:hive-standalone-metastore-server
   ```
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to