Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Later
-
None
-
None
-
None
Description
This is the first step toward better "Scratch space" and "Soft Delete" support. We remove the assumption that the hdfs directory and encryption zone is 1 to 1 mapped and can't be changed once created.
The encryption zone creation part is kept As-Is from Hadoop 2.4. We generalize the encryption zone and its directories from 1:1 to 1:many. This way, other directories such as scratch can be added to/removed from encryption zone as needed. Later on, files in these directories can be renamed within the same encryption zone efficiently.