You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2021/05/27 12:20:00 UTC
[jira] [Updated] (HDDS-4043) allow deletion from Trash directory
without -skipTrash option
[ https://issues.apache.org/jira/browse/HDDS-4043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marton Elek updated HDDS-4043:
------------------------------
Fix Version/s: 1.2.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> allow deletion from Trash directory without -skipTrash option
> -------------------------------------------------------------
>
> Key: HDDS-4043
> URL: https://issues.apache.org/jira/browse/HDDS-4043
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Filesystem
> Reporter: Nilotpal Nandi
> Assignee: Neil Joshi
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.2.0
>
>
> "skipTrash" option is mandatory while deleting from "Trash".
> Deletion from Trash should be allowed even when skipTrash option is not used.
>
> ozone fs -rm -r o3fs://bucket3.s3v.ozone1/.Trash
> 20/07/28 14:50:46 INFO Configuration.deprecation: io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksum
> rm: Failed to move to trash: o3fs://bucket3.s3v.ozone1/.Trash: rename from o3fs://bucket3.s3v.ozone1/.Trash to /.Trash/hrt_qa/Current/.Trash failed.. Consider using -skipTrash option
>
> ozone fs -rm -r -skipTrash o3fs://bucket3.s3v.ozone1/.Trash
> Deleted o3fs://bucket3.s3v.ozone1/.Trash
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org