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/13 14:11:40 UTC

[GitHub] [ozone] rakeshadr edited a comment on pull request #2837: HDDS-5959. Handles bucket layout validation logic in ofs/o3fs client.

rakeshadr edited a comment on pull request #2837:
URL: https://github.com/apache/ozone/pull/2837#issuecomment-968073075


   Thanks @JyotinderSingh for taking this ahead!
   
   I've gone through the test case failures quickly. Most of them are expecting FS semantics test cases and complaining about unsupported OBJECT_STORE layout.
   
   1) All the contract test cases expect FS semantics. 
   Please go through the HDDS-4513 patch, like we know earlier there was cluster side OM layout configuration, which has to be modified to FSO or LEGACY semantics with `ozone.om.enable.filesystem.paths=true`. IMHO, this will make contract tests happy.
   
   2) TestOzoneFileSystem, here you have to set `OMConfigKeys.OZONE_DEFAULT_BUCKET_LAYOUT=LEGACY` in the else block - Refer: [TestOzoneFileSystem.java#L164](https://github.com/apache/ozone/blob/master/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFileSystem.java#L164). For that, please move the below settings outside if-else block.
   
   ```
         conf.set(OMConfigKeys.OZONE_DEFAULT_BUCKET_LAYOUT,
             bucketLayout.name());
   ```
   
   3) For the TestOzoneFsHAURLs failure, please set below configs
   ```
         conf.set(OMConfigKeys.OZONE_DEFAULT_BUCKET_LAYOUT, LEGACY); 
         conf.setBoolean(OMConfigKeys.OZONE_OM_ENABLE_FILESYSTEM_PATHS, true);
   ```
   
   


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