Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 40216200B9C for ; Mon, 10 Oct 2016 09:33:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3F133160ACA; Mon, 10 Oct 2016 07:33:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8D163160AEB for ; Mon, 10 Oct 2016 09:33:22 +0200 (CEST) Received: (qmail 35809 invoked by uid 500); 10 Oct 2016 07:33:21 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 35532 invoked by uid 99); 10 Oct 2016 07:33:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2016 07:33:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 70BB32C2A6E for ; Mon, 10 Oct 2016 07:33:21 +0000 (UTC) Date: Mon, 10 Oct 2016 07:33:21 +0000 (UTC) From: "Colin Ma (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16414) Improve performance for RPC encryption with Apache Common Crypto MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 10 Oct 2016 07:33:23 -0000 [ https://issues.apache.org/jira/browse/HBASE-16414?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D155= 61544#comment-15561544 ]=20 Colin Ma commented on HBASE-16414: ---------------------------------- Hi, [~ram_krish], the patch is rebased with the hbase-protocol-shaded. For = the error messages from HADOOP QA, findbugs, whitespace and asflicense are = caused by hbase-protocol-shaded. For the mvninstall and failed junit tests= , they both works in my local environment, is it possible caused by the uns= table Jenkins? BTW, the review board is also updated with this patch, any other comments? Thanks for your help. > Improve performance for RPC encryption with Apache Common Crypto > ---------------------------------------------------------------- > > Key: HBASE-16414 > URL: https://issues.apache.org/jira/browse/HBASE-16414 > Project: HBase > Issue Type: Improvement > Components: IPC/RPC > Affects Versions: 2.0.0 > Reporter: Colin Ma > Assignee: Colin Ma > Attachments: HBASE-16414.001.patch, HBASE-16414.002.patch, HBASE-= 16414.003.patch, HBASE-16414.004.patch, HBASE-16414.005.patch, HBASE-16414.= 006.patch, HBASE-16414.007.patch, HbaseRpcEncryptionWithCrypoto.docx > > > Hbase RPC encryption is enabled by setting =E2=80=9Chbase.rpc.protection= =E2=80=9D to "privacy". With the token authentication, it utilized DIGEST-M= D5 mechanisms for secure authentication and data protection. For DIGEST-MD5= , it uses DES, 3DES or RC4 to do encryption and it is very slow, especially= for Scan. This will become the bottleneck of the RPC throughput. > Apache Commons Crypto is a cryptographic library optimized with AES-NI. I= t provides Java API for both cipher level and Java stream level. Developers= can use it to implement high performance AES encryption/decryption with th= e minimum code and effort. Compare with the current implementation of org.a= pache.hadoop.hbase.io.crypto.aes.AES, Crypto supports both JCE Cipher and O= penSSL Cipher which is better performance than JCE Cipher. User can configu= re the cipher type and the default is JCE Cipher. -- This message was sent by Atlassian JIRA (v6.3.4#6332)