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 2021/11/09 15:57:26 UTC

[GitHub] [ozone] JyotinderSingh removed a comment on pull request #2730: HDDS-5839. Make sure buckets created from OFS are in FILE_SYSTEM_OPTI…

JyotinderSingh removed a comment on pull request #2730:
URL: https://github.com/apache/ozone/pull/2730#issuecomment-964095727


   Mentioning here for reference: I am adding the client side validation back to the patch which will throw an exception if OFS encounters a bucket with OBS layout. This requires some workarounds in some of the tests where we need LEGACY bucket layouts (we disallow that operation directly - [layout defaults to OBS if client tries to create a LEGACY bucket](https://github.com/apache/ozone/blob/4c2181ff42be3d6b7dbec4f0c3da549d89e12fc0/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/bucket/OMBucketCreateRequest.java#L145)).
   
   To obtain a LEGACY bucket we set the following config in the MiniOzoneCluster:
   ```
   conf.set(OMConfigKeys.OZONE_DEFAULT_BUCKET_LAYOUT, BucketLayout.LEGACY.name());
   ```


-- 
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: issues-unsubscribe@ozone.apache.org

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