Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Impala 4.0.0
-
None
-
None
-
ghx-label-5
Description
Toolchain Python lacks readline functionality when running on Ubuntu 20.04.
The most visible corollary is that impala-shell loses command-line editing capabilities as well.
This happens because the Impala project currently uses UBuntu 18 binaries when it detects a Ubuntu 20 platform (see IMPALA-10199). Toolchain Python built on Ubuntu 18 binds to libreadline.so.7, which doesn't exist on Ubuntu 20. only the libreadline.so.8 is provided.
The workaround is relatively easy; execute as root:
# cd /lib/x86_64-linux-gnu # ln -s libreadline.so.8 libreadline.so.7
but this is not obvious, and Impala contributors should not be forced to execute this.
Attachments
Issue Links
- is blocked by
-
IMPALA-10199 Need to update bootstrap_toolchain.py with the 20.04 version of toolchain file when available
- Resolved
- is duplicated by
-
IMPALA-10963 impala-shell lacks line editing when run on Ubuntu 20.04
- Resolved