mirror of
https://github.com/apache/impala.git
synced 2026-01-05 21:00:54 -05:00
Until now, we would statically link SASL in Impala and simply hope that it is ABI compatible to the version where we install Impala. However, SASL is as well a security library and thus Impala should not statically link it but rather implicitly depend on it. The only complication of this patch is that there was an API breaking change in SASL that this patch has to deal with as it compiles on different platforms. In addition, this patch changes the behavior and default of the --sasl_path command line option. If the option is not set, we rely on the automatic resolution of the SASL plugin path by the dynamic library and only if the option is set, we will override it with the custom value. I tested this patch on Ubuntu and CentOS 6 with the two different versions and everything worked fine. Change-Id: I0523b47f15a63ac385e9036c5b76d43a55bb6771 Reviewed-on: http://gerrit.cloudera.org:8080/1692 Reviewed-by: Dan Hecht <dhecht@cloudera.com> Tested-by: Internal Jenkins