[
https://issues.apache.org/jira/browse/IMPALA-10962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe McDonnell resolved IMPALA-10962.
------------------------------------
Fix Version/s: Impala 4.2.0
Resolution: Fixed
We think this was fixed by building the toolchain on Ubuntu 20.
> Toolchain Python loses readline functionality on Ubuntu 20.04
> -------------------------------------------------------------
>
> Key: IMPALA-10962
> URL: https://issues.apache.org/jira/browse/IMPALA-10962
> Project: IMPALA
> Issue Type: Bug
> Affects Versions: Impala 4.0.0
> Reporter: Laszlo Gaal
> Assignee: Joe McDonnell
> Priority: Critical
> Fix For: Impala 4.2.0
>
>
> 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}}:
> {code:java}
> # cd /lib/x86_64-linux-gnu
> # ln -s libreadline.so.8 libreadline.so.7{code}
> but this is not obvious, and Impala contributors should not be forced to
> execute this.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)