hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7335) Force entropy to come from non-true random for tests
Date Mon, 06 Jun 2011 11:15:59 GMT

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

Hudson commented on HADOOP-7335:
--------------------------------

Integrated in Hadoop-Common-trunk #711 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk/711/])
    HADOOP-7335. Force entropy to come from non-true random for tests. Contributed by Todd
Lipcon

eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1132511
Files : 
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/build.xml


> Force entropy to come from non-true random for tests
> ----------------------------------------------------
>
>                 Key: HADOOP-7335
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7335
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build, test
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hadoop-7335.txt
>
>
> Passing the system property {{-Djava.security.egd=file:///dev/urandom}} forces the JVM
to seed its PRNG from non-true random (/dev/urandom) instead of the true random (/dev/random).
This makes the tests run faster, since without it they often hang waiting for entropy while
Jetty is initializing.
> We should turn this on for the test targets by default, so developers/hudson boxes don't
have to make this change system-wide or use workarounds like rngtools.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message