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/08/02 03:31:00 UTC

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

YifanZhang created IMPALA-11467:
-----------------------------------

             Summary: 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


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)