|
@@ -57,6 +57,7 @@
|
|
<!-- Used for building path to native library loaded by tests. Projects -->
|
|
<!-- Used for building path to native library loaded by tests. Projects -->
|
|
<!-- at different nesting levels in the source tree may need to override. -->
|
|
<!-- 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>
|
|
<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>
|
|
</properties>
|
|
|
|
|
|
<dependencyManagement>
|
|
<dependencyManagement>
|
|
@@ -868,7 +869,7 @@
|
|
|
|
|
|
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
|
|
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
|
|
<java.security.krb5.conf>${basedir}/src/test/resources/krb5.conf</java.security.krb5.conf>
|
|
<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>
|
|
<require.test.libhadoop>${require.test.libhadoop}</require.test.libhadoop>
|
|
</systemPropertyVariables>
|
|
</systemPropertyVariables>
|
|
<includes>
|
|
<includes>
|
|
@@ -922,6 +923,13 @@
|
|
<family>Windows</family>
|
|
<family>Windows</family>
|
|
</os>
|
|
</os>
|
|
</activation>
|
|
</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>
|
|
<build>
|
|
<plugins>
|
|
<plugins>
|
|
<plugin>
|
|
<plugin>
|