You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2023/06/09 23:38:00 UTC

[jira] [Created] (IMPALA-12203) Use python = python 3 for modern toolchain docker images

Joe McDonnell created IMPALA-12203:
--------------------------------------

             Summary: Use python = python 3 for modern toolchain docker images
                 Key: IMPALA-12203
                 URL: https://issues.apache.org/jira/browse/IMPALA-12203
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure
    Affects Versions: Impala 4.3.0
            Reporter: Joe McDonnell


Newer Linux distributions like Redhat 9 no longer include Python 2 in the default repositories. In general, Python 2 is dead and the toolchain code should be able to operate on distributions without Python 2.

Specifically, we would set python to point to python 3 and fix any issues that come up. The issues known so far:
 * The version of pip that we install in the docker images is too old to work appropriately with recent Python 3. It would need to be upgraded to 20.3.4 (the last version that also supports Python 2.7).
 * The version of awscli that we install doesn't work with Python 3.10 (used on Ubuntu 22). This will need to be upgraded to 1.19.112, which is the last version to support Python 2.7. This is new enough to work with Python 3.10.

For bonus points, this logic can be extended to other modern distributions like Ubuntu 20, SLES 15, and Redhat 8. There is no need to extend this to legacy distributions like Redhat 7, SLES 12, or Ubuntu 16/18.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org