You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "YifanZhang (Jira)" <ji...@apache.org> on 2022/09/02 11:34:00 UTC

[jira] [Resolved] (IMPALA-11467) Impala crashes when running pre-built binaries at OS where getrandom(2) is not available

     [ https://issues.apache.org/jira/browse/IMPALA-11467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YifanZhang resolved IMPALA-11467.
---------------------------------
    Resolution: Fixed

> Impala crashes when running pre-built binaries at OS where getrandom(2) is not available
> ----------------------------------------------------------------------------------------
>
>                 Key: IMPALA-11467
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11467
>             Project: IMPALA
>          Issue Type: Improvement
>    Affects Versions: Impala 4.1.0
>            Reporter: YifanZhang
>            Assignee: YifanZhang
>            Priority: Major
>
> Boost UUID use getrandom(2) when compiled on Linux 3.17 or later.[1] But if we running binaries that built at Linux 3.17 or later at OS where getrandom(2) is not available, impalad will crash immediately. We got this error: 
> terminate called after throwing an instance of 'boost::wrapexcept>boost::uuids::entropy_error>'
> what(): getrandom
>  
> We can force Boost UUID to use /dev/random instead, just like the similar issue resolved in kudu[2].
>  
> [1] [https://www.boost.org/doc/libs/1_68_0/libs/uuid/doc/uuid.html#Random%20Generator] 
> [2] [https://github.com/apache/kudu/commit/35b5664f908cd1250c9f01e5dff77b653cfd12b7] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)