Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
Description
When snapshot is disallowed on a dir, getTrashRoots() won't return the trash root in that dir anymore (if any). The risk is the trash root will be left there forever.
We need to throw an exception there and prompt the user to clean up or rename the trash root if it is not empty.
Attachments
Issue Links
- causes
-
HDFS-15689 allow/disallowSnapshot on EZ roots shouldn't fail due to trash provisioning/emptiness check
- Resolved
- is cloned by
-
HDFS-15541 Disallow making a Snapshottable directory unsnapshottable if it has no empty snapshot trash directory
- Resolved
- relates to
-
HDFS-15492 Make trash root inside each snapshottable directory
- Resolved
- links to