Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Cannot Reproduce
-
1.2.1
-
None
-
None
-
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
Description
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:
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)