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 CF83D115FA for ; Mon, 14 Jul 2014 04:59:05 +0000 (UTC) Received: (qmail 4150 invoked by uid 500); 14 Jul 2014 04:59:05 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 4098 invoked by uid 500); 14 Jul 2014 04:59:05 -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 4085 invoked by uid 99); 14 Jul 2014 04:59:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2014 04:59:05 +0000 Date: Mon, 14 Jul 2014 04:59:05 +0000 (UTC) From: "Yi Liu (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-10735) Fall back AesCtrCryptoCodec implementation from OpenSSL to JCE if non native support. 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/HADOOP-10735?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yi Liu updated HADOOP-10735: ---------------------------- Attachment: HADOOP-10735.005.patch Thanks [~umamaheswararao] for the comments. {quote} Can't we use getClasses from config instead? atleast this peice of code sho= uld be qualified as util method. {quote} OK. I move it to {{Configuration}} and accept generic type as following: {code} public List> getClasses(String name,=20 Class xface, List> defaultValue) { =E2=80=A6 } {code} {quote} Why cann't it be HadoopIllegalArgumentException instead of IAException? {quote} {{HadoopIllegalArgumentException}} only accepts string, I=E2=80=99m not goi= ng to add an overload constructor for it. > Fall back AesCtrCryptoCodec implementation from OpenSSL to JCE if non nat= ive support. > -------------------------------------------------------------------------= ------------ > > Key: HADOOP-10735 > URL: https://issues.apache.org/jira/browse/HADOOP-10735 > Project: Hadoop Common > Issue Type: Sub-task > Components: security > Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134) > Reporter: Yi Liu > Assignee: Yi Liu > Fix For: fs-encryption (HADOOP-10150 and HDFS-6134) > > Attachments: HADOOP-10735.001.patch, HADOOP-10735.002.patch, HADO= OP-10735.003.patch, HADOOP-10735.004.patch, HADOOP-10735.005.patch > > > If there is no native support or OpenSSL version is too low not supportin= g AES-CTR, but {{OpensslAesCtrCryptoCodec}} is configured, we need to fall = back it to JCE implementation. -- This message was sent by Atlassian JIRA (v6.2#6252)