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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17426387#comment-17426387 ] 

Jyotinder Singh commented on HDDS-5839:
---------------------------------------

re-iterating Bharat's comments here for tracking:
{quote}One more point, do we also throw error not supported when we figure out bucket type is of kind OBJECT_STORE?
{quote}
 

> 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