[
https://issues.apache.org/jira/browse/HDDS-5839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-5839:
---------------------------------
Labels: pull-request-available (was: )
> Make sure buckets created from "ofs" be FILE_SYSTEM_OPTIMIZED layout
> --------------------------------------------------------------------
>
> Key: HDDS-5839
> URL: https://issues.apache.org/jira/browse/HDDS-5839
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Rakesh Radhakrishnan
> Assignee: Jyotinder Singh
> Priority: Major
> Labels: pull-request-available
>
> The idea of this task is to change the default layout behavior of ofs client,
> it should by default create bucket in {{FILE_SYSTEM_OPTIMIZED}} layout.
> Presently, client is sending BucketLayout.DEFAULT, which is LEGACY to the OM.
> This has to be modified to FILE_SYSTEM_OPTIMIZED.
> {code:java}
> BasicRootedOzoneClientAdapterImpl.java#L245
> OzoneVolume volume = proxy.getVolumeDetails(volumeStr);
> // Create the bucket
> try {
> volume.createBucket(bucketStr);
> {code}
> Code Reference:
> [BasicRootedOzoneClientAdapterImpl.java#L245|https://github.com/apache/ozone/blob/master/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneClientAdapterImpl.java#L245]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]