You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Chung En Lee (Jira)" <ji...@apache.org> on 2024/12/23 14:42:00 UTC

[jira] [Assigned] (HDDS-11954) list keys command gets wrong info

     [ https://issues.apache.org/jira/browse/HDDS-11954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chung En Lee reassigned HDDS-11954:
-----------------------------------

    Assignee: Yen Min Chen  (was: Chung En Lee)

> list keys command gets wrong info
> ---------------------------------
>
>                 Key: HDDS-11954
>                 URL: https://issues.apache.org/jira/browse/HDDS-11954
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Chung En Lee
>            Assignee: Yen Min Chen
>            Priority: Minor
>
> list keys command gets wrong info for diretory in fso bucket. "file" should be false.
> Steps to reproduce:
>  # ozone sh vol create /vol1
>  # ozone sh bucket create --layout=FILE_SYSTEM_OPTIMIZED /vol1/bucket1
>  # ozone fs -mkdir /vol1/bucket1
>  # ozone fs -mkdir /vol1/bucket1/dir1/dir2
>  # ozone sh key ls /vol1/bucket1
>  
> {code:java}
> [ {
>   "volumeName" : "vol1",
>   "bucketName" : "bucket1",
>   "name" : "dir1/",
>   "owner" : "hadoop",
>   "dataSize" : 0,
>   "creationTime" : "2024-12-17T16:34:10.776Z",
>   "modificationTime" : "2024-12-17T16:34:10.776Z",
>   "replicationConfig" : {
>     "replicationFactor" : "ONE",
>     "requiredNodes" : 1,
>     "minimumNodes" : 1,
>     "replicationType" : "RATIS"
>   },
>   "metadata" : { },
>   "tags" : { },
>   "file" : true    // should be false
> }, {
>   "volumeName" : "vol1",
>   "bucketName" : "bucket1",
>   "name" : "dir1/dir2/",
>   "owner" : "hadoop",
>   "dataSize" : 0,
>   "creationTime" : "2024-12-17T16:34:18.936Z",
>   "modificationTime" : "2024-12-17T16:34:18.936Z",
>   "replicationConfig" : {
>     "replicationFactor" : "ONE",
>     "requiredNodes" : 1,
>     "minimumNodes" : 1,
>     "replicationType" : "RATIS"
>   },
>   "metadata" : { },
>   "tags" : { },
>   "file" : true    //should be false
>  } ] {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