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 BDE8D1853D for ; Thu, 30 Apr 2015 21:05:06 +0000 (UTC) Received: (qmail 38223 invoked by uid 500); 30 Apr 2015 21:05:06 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 38164 invoked by uid 500); 30 Apr 2015 21:05: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 38152 invoked by uid 99); 30 Apr 2015 21:05:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 21:05:06 +0000 Date: Thu, 30 Apr 2015 21:05:06 +0000 (UTC) From: "Arun Suresh (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11891) OsSecureRandom should lazily fill its reservoir 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-11891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522267#comment-14522267 ] Arun Suresh commented on HADOOP-11891: -------------------------------------- committed to trunk, branch-2 and branch-2.7 > OsSecureRandom should lazily fill its reservoir > ----------------------------------------------- > > Key: HADOOP-11891 > URL: https://issues.apache.org/jira/browse/HADOOP-11891 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 2.7.0 > Reporter: Arun Suresh > Assignee: Arun Suresh > Fix For: 2.7.1 > > Attachments: HADOOP-11891.1.patch, HADOOP-11891.2.patch > > > The {{OsSecureRandom}} class that is initialized by on the the {{CryptoCodec}} implementations eagerly fills its reservoir of random bits. This will result in too many file descriptors being opened simply and is not really required if the client already has a random IV and key needed for decryption. -- This message was sent by Atlassian JIRA (v6.3.4#6332)