Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Description
Currently, "Soft Delete" is only supported if the whole encryption zone is deleted. If you delete files whinin the zone with trash feature enabled, you will get error similar to the following
rm: Failed to move to trash: hdfs://HW11217.local:9000/z1_1/startnn.sh: /z1_1/startnn.sh can't be moved from an encryption zone.
This JIRA is proposed to support trash for deletion of files within encryption zone.
Attachments
Attachments
Issue Links
- breaks
-
HDFS-9799 Reimplement getCurrentTrashDir to remove incompatibility
- Resolved
-
HADOOP-13700 Remove unthrown IOException from TrashPolicy#initialize and #getInstance signatures
- Resolved
- contains
-
HDFS-8747 Provide Better "Scratch Space" and "Soft Delete" Support for HDFS Encryption Zones
- Resolved
- is broken by
-
HDFS-10324 Trash directory in an encryption zone should be pre-created with correct permissions
- Resolved
- is related to
-
HDFS-9844 Correct path creation in getTrashRoot to handle root dir
- Resolved
-
HADOOP-13534 Remove unused TrashPolicy#getInstance and initialize code
- Resolved
- relates to
-
HADOOP-12661 Add trash APIs to the FileSystem specification
- Open
-
HADOOP-7310 Trash location needs to be revisited
- Open