You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Mohammad Arafat Khan (Jira)" <ji...@apache.org> on 2022/09/27 12:19:00 UTC

[jira] [Assigned] (HDDS-6923) KEY_NOT_FOUND on deleting a key via Ozone Cli

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

Mohammad Arafat Khan reassigned HDDS-6923:
------------------------------------------

    Assignee: Mohammad Arafat Khan

> KEY_NOT_FOUND on deleting a key via Ozone Cli
> ---------------------------------------------
>
>                 Key: HDDS-6923
>                 URL: https://issues.apache.org/jira/browse/HDDS-6923
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone CLI
>    Affects Versions: 1.3.0
>            Reporter: Soumitra Sulav
>            Assignee: Mohammad Arafat Khan
>            Priority: Major
>
> Below behavior is seen with LEGACY layout type.
> Directory is created via FS API and on trying to delete this via Ozone API it's unable to delete the key, even though the list works as expected.
> {code:java}
> [root@quasar-dsaqtf-1 ~]# ozone sh bucket info vol/buck-leg | jq '.bucketLayout'
> "LEGACY"
> [root@quasar-dsaqtf-1 ~]# ozone fs -mkdir o3fs://buck-leg.vol.ozone1/dir1
> [root@quasar-dsaqtf-1 ~]# ozone sh key list o3://ozone1/vol/buck-leg
> [ {
>   "volumeName" : "vol",
>   "bucketName" : "buck-leg",
>   "name" : "dir1/",
>   "dataSize" : 0,
>   "creationTime" : "2022-06-19T18:35:39.520Z",
>   "modificationTime" : "2022-06-19T18:35:39.520Z",
>   "replicationConfig" : {
>     "replicationFactor" : "THREE",
>     "requiredNodes" : 3,
>     "replicationType" : "RATIS"
>   }
> } ]
> [root@quasar-dsaqtf-1 ~]# ozone sh key delete o3://ozone1/vol/buck-leg/dir1/
> KEY_NOT_FOUND Key not found
> [root@quasar-dsaqtf-1 ~]#
> {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