Matthew Jacobs has uploaded a new change for review. http://gerrit.cloudera.org:8080/6027
Change subject: IMPALA-4933: Force thrift to initialize SSL on process startup ...................................................................... IMPALA-4933: Force thrift to initialize SSL on process startup OpenSSL initialization functions are not threadsafe and are currently called by both thrift, squeasel, and the Kudu client. This change forces thrift to initialize OpenSSL on startup by adding a TSSLSocketFactory to the AuthManager which initializes OpenSSL upon creation and lives the lifetime of the process. Then, squeasel is configured to skip the OpenSSL initialization. TODO: When the Kudu client supports a flag to disable its initialization path (KUDU-1738), Impala will call that. In the meantime, there will continue to be some small likelihood of a race. Change-Id: I245a8a001103ddca7f07349faa82bbb5b9fe3ab0 --- M be/src/rpc/authentication.cc M be/src/rpc/authentication.h M be/src/util/webserver.cc 3 files changed, 18 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/27/6027/1 -- To view, visit http://gerrit.cloudera.org:8080/6027 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I245a8a001103ddca7f07349faa82bbb5b9fe3ab0 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Matthew Jacobs <[email protected]>
