[
https://issues.apache.org/jira/browse/ARROW-10287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou resolved ARROW-10287.
------------------------------------
Resolution: Fixed
Issue resolved by pull request 8444
[https://github.com/apache/arrow/pull/8444]
> [C++] Avoid std::random_device whenever possible
> ------------------------------------------------
>
> Key: ARROW-10287
> URL: https://issues.apache.org/jira/browse/ARROW-10287
> Project: Apache Arrow
> Issue Type: Wish
> Components: C++
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> I just tried running the tests on a default build on Ubuntu 20.04 with an AMD
> Ryzen CPU (where presumably RDRAND can't be relied on, but I don't know if
> that's the underlying reason), and the tests appear to hand blocking on
> {{std::random_device}} at some point. I suppose some versions of libstdc++
> will use {{/dev/random}} instead of {{/dev/urandom}} (which is a bad idea in
> itself).
> We should probably try to minimize our usage of {{std::random_device}}. After
> all, we're not generating cryptographic keys or anything.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)