mirror of
https://github.com/apache/impala.git
synced 2026-02-03 00:00:40 -05:00
The impala-shell tarball ships its external dependencies by building eggs and including them in the ext-py* directories. On Redhat 9 and Ubuntu 22, the impala-shell tarball encountered a regression where the sasl package could not access its Client class: Error connecting: AttributeError, module 'sasl' has no attribute 'Client' This only occurs when using eggs (which are zip files). The virtualenv installs worked fine. Unpacking the eggs and using the content directly also avoids the problem. This reworks the shell tarball to instead build wheels and install them with 'pip install'. This means that the external dependencies are not packaged in eggs, and this avoids the issue with sasl. This is a minimal change to avoid the issue until the shell tarball build can be reworked more extensively. Testing: - Ran shell tests on Redhat 9 Change-Id: I49403979c559b7f8bbe038865c06db6024468d72 Reviewed-on: http://gerrit.cloudera.org:8080/20095 Reviewed-by: Michael Smith <michael.smith@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>