cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9581) pig-tests spend time waiting on /dev/random for SecureRandom
Date Thu, 11 Jun 2015 22:22:00 GMT


Joshua McKenzie commented on CASSANDRA-9581:

What are the implications for Windows?
{code:title=proposed build.xml changes}
        <!-- The first time SecureRandom initializes can be slow if it blocks on /dev/random
        <jvmarg value="" />

No /dev/urandom on the platform so I'm assuming this won't end well.

> pig-tests spend time waiting on /dev/random for SecureRandom
> ------------------------------------------------------------
>                 Key: CASSANDRA-9581
>                 URL:
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Ariel Weisberg
>            Assignee: Ariel Weisberg
> We don't need secure random numbers (for unit tests) so waiting for entropy doesn't make
much sense. Luckily Java makes it easy to point to /dev/urandom for entropy. It also transparently
handles it correctly on Windows.

This message was sent by Atlassian JIRA

View raw message