Details
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-9857 Tests block and sometimes timeout on Windows due to invalid entropy source.
- Closed
-
HADOOP-7841 Run tests with non-secure random
- Closed
- relates to
-
HDFS-2046 Force entropy to come from non-true random for tests
- Closed