rakeshadr commented on pull request #2707: URL: https://github.com/apache/ozone/pull/2707#issuecomment-936603469
@JyotinderSingh Please include below code snippet to fix the test case failures. Those are failing especially because "ozone.default.bucket.layout" should be set of `FILE_SYSTEM_OPTIMIZED`. Presently, it is defaulting to `OBJECT_STORE` and is causing the failure. Please go to[ TestOMRequestUtils#configureFSOptimizedPaths](https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/TestOMRequestUtils.java#L1038)method and set default to FSO like below: ``` public static void configureFSOptimizedPaths(Configuration conf, boolean enableFileSystemPaths, String version) { conf.setBoolean(OMConfigKeys.OZONE_OM_ENABLE_FILESYSTEM_PATHS, enableFileSystemPaths); conf.set(OMConfigKeys.OZONE_OM_METADATA_LAYOUT, version); if (StringUtils.equalsIgnoreCase(OMConfigKeys.OZONE_OM_METADATA_LAYOUT_PREFIX, version)) { conf.set(OMConfigKeys.OZONE_DEFAULT_BUCKET_LAYOUT, BucketLayout.FILE_SYSTEM_OPTIMIZED.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: [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]
