You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/11/24 03:24:58 UTC

[GitHub] [ozone] smengcl opened a new pull request #1614: HDDS-4502. [OFS] Listing volumes under root should return all volumes whenever possible

smengcl opened a new pull request #1614:
URL: https://github.com/apache/ozone/pull/1614


   https://issues.apache.org/jira/browse/HDDS-4502
   
   Currently `listStatusRoot()` only lists volumes owned(ACL disabled) or accessible(ACL enabled) by current user.
   
   This prevents HttpFS from listing all volumes under OFS root.
   
   Since we probably can't provide an argument to allow passing in parameter `--all` due to conforming to HCFS, we should default to list ALL volumes whenever this is possible.
   
   Note: `ozone.om.volume.listall.allowed` is an OM side argument that controls whether any user can list all volumes on an Ozone cluster, it defaults to `true`.
   
   ## TBD
   
   - [ ] Check how OFS list root would behave when OM has `ozone.om.volume.listall.allowed` = `false` when ACL is enabled.
   
   ## Testing
   
   Pending CI. May need to add new UT to check whether the change breaks any existing UTs.


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



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


[GitHub] [ozone] smengcl closed pull request #1614: HDDS-4502. [OFS] Listing volumes under root should return all volumes whenever possible

Posted by GitBox <gi...@apache.org>.
smengcl closed pull request #1614:
URL: https://github.com/apache/ozone/pull/1614


   


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



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


[GitHub] [ozone] smengcl commented on pull request #1614: HDDS-4502. [OFS] Listing volumes under root should return all volumes whenever possible

Posted by GitBox <gi...@apache.org>.
smengcl commented on pull request #1614:
URL: https://github.com/apache/ozone/pull/1614#issuecomment-733907690


   When ACL is enabled, it should check for accessible directories (instead of owner name). To test with Ranger.


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



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