You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/11/13 03:48:00 UTC

[jira] [Commented] (IMPALA-6861) Fix OpenSSL initialization

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

ASF subversion and git services commented on IMPALA-6861:
---------------------------------------------------------

Commit 746c968ac372938d64298372a0790ec18135c889 in impala's branch refs/heads/master from Thomas Tauber-Marshall
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=746c968 ]

IMPALA-6861: Fix OpenSSL initialization

Impalads currently initialize OpenSSL twice: once when initializing
Thrift and once when initializing KRPC. The initialization is
theoretically idempotent but not thread-safe, so its better to clean
this up.

This patch disables the Thrift version as its older (last updated in
2015) and the KRPC version contains logic specific to more recent
versions of OpenSSL. The catalogd and statestored also now use the
KRPC version instead of the Thrift version.

It also improves debuggability by adding some additional startup
logging.

Testing:
- Passed existing SSL tests.

Change-Id: I35b1362d40c8a12082cc8b531a38b4a485bac0e7
Reviewed-on: http://gerrit.cloudera.org:8080/16704
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Fix OpenSSL initialization
> --------------------------
>
>                 Key: IMPALA-6861
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6861
>             Project: IMPALA
>          Issue Type: Task
>          Components: Distributed Exec
>    Affects Versions: Impala 3.0, Impala 2.12.0
>            Reporter: Sailesh Mukil
>            Assignee: Thomas Tauber-Marshall
>            Priority: Major
>              Labels: ramp-up
>
> Currently, impalads initialize ssl twice, once in Thrift and once in KRPC-related code, leading Kudu to print the warning:
> {code:java}
> W0416 02:04:25.040552 19359 openssl_util.cc:107] It appears that OpenSSL has been previously initialized by code outside of Kudu. Please use kudu::client::DisableOpenSSLInitialization() to avoid potential crashes due to conflicting initialization.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org