Xiaoyu Yao created HDFS-8830:
--------------------------------
Summary: Support add/remove directories to an existing encryption zone
Key: HDFS-8830
URL: https://issues.apache.org/jira/browse/HDFS-8830
Project: Hadoop HDFS
Issue Type: Sub-task
Components: namenode
Reporter: Xiaoyu Yao
Assignee: Xiaoyu Yao
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|