[ 
https://issues.apache.org/jira/browse/HADOOP-11892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238316#comment-15238316
 ] 

Andrew Wang commented on HADOOP-11892:
--------------------------------------

As a correction, /dev/urandom doesn't block. Concerns about running out of 
entropy are often exaggerated, since you only need a few bits of entropy to 
generate a lot of randomness, and only at system startup. See: 
http://www.2uo.de/myths-about-urandom/

> CryptoCodec#getInstance always returns a new instance of CryptoCodec. This 
> could be expensive
> ---------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11892
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11892
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>
> {{CryptoCodec#getInsatnce}} should be able to return possibly cached 
> instances of the CryptoCodec implementation as instantiating a new instance 
> every time could be expensive



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to