Thanks for flagging this Ahmed.

urandom is a perfectly acceptable option. I am not sure who maintains the 
pre-commit machines these days.

> On Jan 14, 2020, at 10:42 AM, Ahmed Hussein <> wrote:
> Hi,
> I was investigating a JUnit test
> (MAPREDUCE-7079:TestMRIntermediateDataEncryption
> is failing in precommit builds
> <>) that was
> consistently hanging on Linux VMs and failing Mapreduce pre-builds.
> I found that the test hangs slows or hangs indefinitely whenever Java reads
> the random file.
> I explored two different ways to get that test case to work properly on my
> local Linux VM running rel7:
>   1. To install "haveged" and "rng-tools" on the virtual machine running
>   Rel7. Then, start rngd service {{sudo service rngd start}} .
>   2. Change java configuration to load urandom
>   {{sudo vim $JAVA_HOME/jre/lib/security/}}
>   ## Change the line “securerandom.source=file:/dev/random” to read:
>   securerandom.source=file:/dev/./urandom
> Is it possible to apply any of the above solutions to the VM that runs the
> precommit builds?

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to