You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Neil Joshi (Jira)" <ji...@apache.org> on 2021/08/05 02:10:00 UTC

[jira] [Commented] (HDDS-3367) Trash Support for Ozone FileSystem

    [ https://issues.apache.org/jira/browse/HDDS-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393546#comment-17393546 ] 

Neil Joshi commented on HDDS-3367:
----------------------------------

With trash service active, ozone fs shell recursive bucket delete is *not* allowed without the -skipTrash option (HDDS 5175 [https://issues.apache.org/jira/browse/HDDS-5175], PR #2458) . 

examples:

ofs:

{color:#24292e}bash-4.2$ ozone fs -rm -R -skipTrash /vol1/bucket1{color}

{color:#24292e}o3fs:{color}

{color:#24292e}ozone fs -rm -R -skipTrash o3fs://bucket1.vol1{color}

> Trash Support for Ozone FileSystem
> ----------------------------------
>
>                 Key: HDDS-3367
>                 URL: https://issues.apache.org/jira/browse/HDDS-3367
>             Project: Apache Ozone
>          Issue Type: New Feature
>          Components: Ozone Filesystem
>    Affects Versions: 1.0.0
>            Reporter: Sadanand Shenoy
>            Assignee: Sadanand Shenoy
>            Priority: Blocker
>         Attachments: OzoneFilesystemTrashImplementation.pdf, OzoneFsTrash.patch
>
>
> The aim of this jira to add the trash feature capability in ozone that will help prevent accidental deletion of files and directories. When a file gets deleted in Ozone, the file is not immediately expelled from Ozone but will be moved to trash. Similarly as in HDFS, to immediately delete a file, a skipTrash option will be provided. The jira also aims to integrate the Ozone FS Trash to the Trash API developed as a part of HDDS-2416.



--
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