Jyotirmoy Sinha created HDDS-9423:
-------------------------------------
Summary: [snapshot] Throw appropriate error messages when deleting
a file in .snapshot path
Key: HDDS-9423
URL: https://issues.apache.org/jira/browse/HDDS-9423
Project: Apache Ozone
Issue Type: Bug
Components: Snapshot
Reporter: Jyotirmoy Sinha
Throw appropriate error messages when deleting a file in .snapshot path
Current implementation -
{code:java}
# ozone sh key delete vol1/buck1/.snapshot/snap1
Key not found .snapshot/snap1
# ozone fs -rm -r -f -skipTrash ofs://ozone1/vol1/buck1/.snapshot/snap1
23/10/10 06:41:53 ERROR ozone.BasicRootedOzoneClientAdapterImpl: delete key
failed Unable to get file status: volume: vol1 bucket: buck1 key:
.snapshot/snap1
rm: `ofs://ozone1/vol1/buck1/.snapshot/snap1': Input/output error {code}
The above error responses are not indicative of the actual error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]