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 5A30D110A0 for ; Thu, 15 May 2014 01:22:04 +0000 (UTC) Received: (qmail 4005 invoked by uid 500); 12 May 2014 17:42:18 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 3953 invoked by uid 500); 12 May 2014 17:42:18 -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 3944 invoked by uid 99); 12 May 2014 17:42:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 17:42:18 +0000 Date: Mon, 12 May 2014 17:42:18 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (HDFS-6134) Transparent data at rest encryption MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-6134?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur reopened HDFS-6134: -------------------------------------- [cross-posting with HADOOP-10150] Reopening HDFS-6134 After some offline discussions with Yi, Tianyou, ATM, Todd, Andrew and Char= les we think is makes more sense to implement encryption for HDFS directly = into the DistributedFileSystem client and to use CryptoFileSystem support e= ncryption for FileSystems that don=E2=80=99t support native encryption. The reasons for this change of course are: * If we want to we add support for HDFS transparent compression, the compre= ssion should be done before the encryption (implying less entropy). If comp= ression is to be handled by HDFS DistributedFileSystem, then the encryption= has to be handled afterwards (in the write path). * The proposed CryptoSupport abstraction significantly complicates the impl= ementation of CryptoFileSystem and the wiring in HDFS FileSystem client. * Building it directly into HDFS FileSystem client may allow us to avoid an= extra copy of data. Because of this, the idea is now: * A common set of Crypto Input/Output streams. They would be used by Crypto= FileSystem, HDFS encryption, MapReduce intermediate data and spills. Note w= e cannot use the JDK Cipher Input/Output streams directly because we need t= o support the additional interfaces that the Hadoop FileSystem streams impl= ement (Seekable, PositionedReadable, ByteBufferReadable, HasFileDescriptor= , CanSetDropBehind, CanSetReadahead, HasEnhancedByteBufferAccess, Syncable= , CanSetDropBehind). * CryptoFileSystem. To support encryption in arbitrary FileSystems. * HDFS client encryption. To support transparent HDFS encryption. Both CryptoFilesystem and HDFS client encryption implementations would be b= uilt using the Crypto Input/Output streams, xAttributes and KeyProvider API= . > Transparent data at rest encryption > ----------------------------------- > > Key: HDFS-6134 > URL: https://issues.apache.org/jira/browse/HDFS-6134 > Project: Hadoop HDFS > Issue Type: New Feature > Components: security > Affects Versions: 2.3.0 > Reporter: Alejandro Abdelnur > Assignee: Alejandro Abdelnur > Attachments: HDFSDataAtRestEncryption.pdf > > > Because of privacy and security regulations, for many industries, sensiti= ve data at rest must be in encrypted form. For example: the health=C2=ADcar= e industry (HIPAA regulations), the card payment industry (PCI DSS regulati= ons) or the US government (FISMA regulations). > This JIRA aims to provide a mechanism to encrypt HDFS data at rest that c= an be used transparently by any application accessing HDFS via Hadoop Files= ystem Java API, Hadoop libhdfs C library, or WebHDFS REST API. > The resulting implementation should be able to be used in compliance with= different regulation requirements. -- This message was sent by Atlassian JIRA (v6.2#6252)