You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Rakesh Radhakrishnan (Jira)" <ji...@apache.org> on 2021/10/08 13:47:00 UTC

[jira] [Updated] (HDDS-5839) Make sure buckets created from "ofs" be FILE_SYSTEM_OPTIMIZED layout

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

Rakesh Radhakrishnan updated HDDS-5839:
---------------------------------------
    Description: 
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]

  was:
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.

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]


> 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
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org