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-9857) Tests block and sometimes timeout on Windows due to invalid entropy source.
Date Sat, 10 Aug 2013 11:33:52 GMT

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

Hudson commented on HADOOP-9857:
--------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1487 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1487/])
HADOOP-9857. Tests block and sometimes timeout on Windows due to invalid entropy source. Contributed
by Chris Nauroth. (cnauroth: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1512522)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-project/pom.xml

                
> Tests block and sometimes timeout on Windows due to invalid entropy source.
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-9857
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9857
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, test
>    Affects Versions: 3.0.0, 2.1.1-beta
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.0.0, 2.1.1-beta
>
>         Attachments: HADOOP-9857.1.patch, HADOOP-9857.2.patch
>
>
> Tests are configured to set the entropy source to {{file:///dev/urandom}} to prevent
blocking on machines with low entropy.  We've observed that on Windows, this will cause tests
to block for 5 seconds trying to access this non-existent path the first time the process
does something that needs entropy, such as using a {{SecureRandom}} or creating a {{UUID}}.
 This can cause tests to fail due to timeouts.  In addition to the initial 5-second blocking,
this causes the JVM to fall back to a slower, non-native seed generation implementation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message