Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 096CC107FE for ; Thu, 26 Sep 2013 07:34:59 +0000 (UTC) Received: (qmail 45162 invoked by uid 500); 26 Sep 2013 07:34:13 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 45097 invoked by uid 500); 26 Sep 2013 07:34:10 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 44980 invoked by uid 99); 26 Sep 2013 07:34:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 07:34:02 +0000 Date: Thu, 26 Sep 2013 07:34:02 +0000 (UTC) From: "Jerry Chen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-9997) Improve TFile API to be able to pass the context for encryption codecs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jerry Chen created HADOOP-9997: ---------------------------------- Summary: Improve TFile API to be able to pass the context for = encryption codecs Key: HADOOP-9997 URL: https://issues.apache.org/jira/browse/HADOOP-9997 Project: Hadoop Common Issue Type: Improvement Components: io Affects Versions: 3.0.0 Reporter: Jerry Chen HADOOP-9996 extends TFile to support any compression codecs available in Ha= doop, such as Snappy. This also provides the opportunity to utilize the cry= pto codec for encryption, a new feature added by HADOOP-9331. The crypto co= dec is based on the compression codec and it is a natural extension of its = usage here. While in API level encryption usually needs a key context while= compression usually doesn=E2=80=99t. This work needs to extend the TFile Reader and Writer to passing and handli= ng a context of the codec. For crypo codecs, this may be the key informatio= n for using to encrypt or decrypt the data. To keep the backward compatibil= ity of the reader and writer, new methods or constructor with codec context= can be added instead of modifying the existing methods. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira