1
0
Kaynağa Gözat

HADOOP-7335. Force entropy to come from non-true random for tests. Contributed by Todd Lipcon

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1132511 13f79535-47bb-0310-9956-ffa450edef68
Eli Collins 14 yıl önce
ebeveyn
işleme
0bcd7e9f86
2 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 3 0
      CHANGES.txt
  2. 1 0
      build.xml

+ 3 - 0
CHANGES.txt

@@ -526,6 +526,9 @@ Release 0.22.0 - Unreleased
     HADOOP-7346. Send back nicer error message to clients using outdated IPC
     version. (todd)
 
+    HADOOP-7335. Force entropy to come from non-true random for tests.
+    (todd via eli)
+
   OPTIMIZATIONS
 
     HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..).

+ 1 - 0
build.xml

@@ -753,6 +753,7 @@
         <sysproperty key="hadoop.policy.file" value="hadoop-policy.xml" />
         <sysproperty key="java.library.path"
           value="${build.native}/lib:${lib.dir}/native/${build.platform}"/>
+        <sysproperty key="java.security.egd" value="file:///dev/urandom" />
         <sysproperty key="install.c++.examples" value="${install.c++.examples}"/>
         <!-- set io.compression.codec.lzo.class in the child jvm only if it is set -->
         <syspropertyset dynamic="no">