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 D511D11BAD for ; Sat, 12 Jul 2014 00:56:06 +0000 (UTC) Received: (qmail 62460 invoked by uid 500); 12 Jul 2014 00:56:06 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 62415 invoked by uid 500); 12 Jul 2014 00:56:06 -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 62403 invoked by uid 99); 12 Jul 2014 00:56:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2014 00:56:06 +0000 Date: Sat, 12 Jul 2014 00:56:06 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-10734) Implementation of true secure random with high performance using hardware random number generator. 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/HADOOP-10734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059556#comment-14059556 ] Colin Patrick McCabe commented on HADOOP-10734: ----------------------------------------------- OK, I looked at this again, and Random implements Serializable (for some reason?) So we probably should have this to avoid generating warnings. So +1 for the patch as-is. Thanks, all. I will commit shortly and let you guys file whatever follow-ups make sense > Implementation of true secure random with high performance using hardware random number generator. > -------------------------------------------------------------------------------------------------- > > Key: HADOOP-10734 > URL: https://issues.apache.org/jira/browse/HADOOP-10734 > 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-10734-fs-enc.004.patch, HADOOP-10734.1.patch, HADOOP-10734.2.patch, HADOOP-10734.3.patch, HADOOP-10734.4.patch, HADOOP-10734.5.patch, HADOOP-10734.patch > > > This JIRA is to implement Secure random using JNI to OpenSSL, and implementation should be thread-safe. > Utilize RdRand to return random numbers from hardware random number generator. It's TRNG(True Random Number generators) having much higher performance than {{java.security.SecureRandom}}. > https://wiki.openssl.org/index.php/Random_Numbers > http://en.wikipedia.org/wiki/RdRand > https://software.intel.com/en-us/articles/performance-impact-of-intel-secure-key-on-openssl -- This message was sent by Atlassian JIRA (v6.2#6252)