You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tóth Andor (Jira)" <ji...@apache.org> on 2022/10/28 09:45:00 UTC

[jira] [Created] (HDDS-7434) bucketLayout reported by "ozone sh bucket list" is wrong

Tóth Andor created HDDS-7434:
--------------------------------

             Summary: bucketLayout reported by "ozone sh bucket list" is wrong
                 Key: HDDS-7434
                 URL: https://issues.apache.org/jira/browse/HDDS-7434
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone CLI
    Affects Versions: 1.2.1
         Environment: CentOS 7

uname -a: Linux ... 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
            Reporter: Tóth Andor


Hi,

`ozone sh bucket list /vol1` reports different `bucketLayout` for the same bucket as `ozone sh bucket info /vol1/bucket1` command does. The latter (info) seems to be correct.

This is misleading if you want to use FILE_SYSTEM_OPTIMIZED or OBJECT_STORE layout instead of LEGACY.

You may reproduce the problem with the following commands:

 
{code:java}
ozone sh volume create /vol1
ozone sh bucket create /vol1/bucket1 --type=FILE_SYSTEM_OPTIMIZED
ozone sh bucket ls
ozone sh bucket info /vol1/bucket1
# now compare the output for bucketLayout of the last 2 commands (ls vs info)
{code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org