[
https://issues.apache.org/jira/browse/HDDS-7434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17636489#comment-17636489
]
Chris commented on HDDS-7434:
-----------------------------
[~andor.toth] as I mentioned in last comment, this issue can not be
reproduced.
I used the following command to create this bucket. both "ozone sh bucket info
/vol1/bucket1" and "ozone sh bucket ls /vol1" are showing the same bucketlayout
for this bucket1
ozone sh bucket create /vol1/bucket1 --layout=FILE_SYSTEM_OPTIMIZED
Let me know if there is something wrong with your steps.
Thanks
> 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]