You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Laszlo Gaal (Jira)" <ji...@apache.org> on 2021/10/11 15:09:00 UTC

[jira] [Created] (IMPALA-10962) Toolchain Python loses readline functionality on Ubuntu 20.04

Laszlo Gaal created IMPALA-10962:
------------------------------------

             Summary: 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


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.3.4#803005)