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