[
https://issues.apache.org/jira/browse/HDDS-7434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17635211#comment-17635211
]
Chris edited comment on HDDS-7434 at 11/17/22 8:47 AM:
-------------------------------------------------------
This issue seems already being fixed in 1.3.0 as not reproduciable now.
"layout" option shall be used instead of "type" which is used to specify
replication type for bucket.
was (Author: JIRAUSER298090):
This issue seems already being fixed in 1.3.0 as not reproduciable now.
"--layout" option shall be used instead of "--type" which is used to specify
replication type for bucket.
> 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
> Assignee: Chris Ge
> Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]