[ 
https://issues.apache.org/jira/browse/CASSANDRA-9581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582604#comment-14582604
 ] 

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="-Djava.security.egd=file:/dev/urandom" />
{code}

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: https://issues.apache.org/jira/browse/CASSANDRA-9581
>             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
(v6.3.4#6332)

Reply via email to