[ 
https://issues.apache.org/jira/browse/HDDS-5839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rakesh Radhakrishnan updated HDDS-5839:
---------------------------------------
    Fix Version/s: 1.3.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 1.3.0
>
>
> 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.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to