Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10962

Toolchain Python loses readline functionality on Ubuntu 20.04

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 4.0.0
    • Impala 4.2.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

          Activity

            People

              joemcdonnell Joe McDonnell
              laszlog Laszlo Gaal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: