Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D36818B65 for ; Tue, 28 Jul 2015 20:24:05 +0000 (UTC) Received: (qmail 21286 invoked by uid 500); 28 Jul 2015 20:24:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 21232 invoked by uid 500); 28 Jul 2015 20:24:04 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 21218 invoked by uid 99); 28 Jul 2015 20:24:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2015 20:24:04 +0000 Date: Tue, 28 Jul 2015 20:24:04 +0000 (UTC) From: "Xiaoyu Yao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-8830) Support add/remove directories to an existing encryption zone MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-8830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-8830: ----------------------------- Attachment: (was: HDFS-8830.01.patch) > 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 > Attachments: HDFS-8830.01.patch > > > 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)