HADOOP-9857. Tests block and sometimes timeout on Windows due to invalid entropy source. Contributed by Chris Nauroth.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1512522 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris Nauroth 2013-08-09 22:55:11 +00:00
parent 49994ddc20
commit 49e440c404
2 changed files with 12 additions and 1 deletions

View File

@ -363,6 +363,9 @@ Release 2.1.1-beta - UNRELEASED
HADOOP-9757. Har metadata cache can grow without limit (Cristina Abad via daryn)
HADOOP-9857. Tests block and sometimes timeout on Windows due to invalid
entropy source. (cnauroth)
Release 2.1.0-beta - 2013-08-06
INCOMPATIBLE CHANGES

View File

@ -57,6 +57,7 @@
<!-- Used for building path to native library loaded by tests. Projects -->
<!-- at different nesting levels in the source tree may need to override. -->
<hadoop.common.build.dir>${basedir}/../../hadoop-common-project/hadoop-common/target</hadoop.common.build.dir>
<java.security.egd>file:///dev/urandom</java.security.egd>
</properties>
<dependencyManagement>
@ -831,7 +832,7 @@
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
<java.security.krb5.conf>${basedir}/src/test/resources/krb5.conf</java.security.krb5.conf>
<java.security.egd>file:///dev/urandom</java.security.egd>
<java.security.egd>${java.security.egd}</java.security.egd>
<require.test.libhadoop>${require.test.libhadoop}</require.test.libhadoop>
</systemPropertyVariables>
<includes>
@ -885,6 +886,13 @@
<family>Windows</family>
</os>
</activation>
<properties>
<!-- We must use this exact string for egd on Windows, because the -->
<!-- JVM will check for an exact string match on this. If found, it -->
<!-- will use a native entropy provider. This will not really -->
<!-- attempt to open a file at this path. -->
<java.security.egd>file:/dev/urandom</java.security.egd>
</properties>
<build>
<plugins>
<plugin>