Joe McDonnell has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22953
Change subject: IMPALA-13326: Prefer python3 for tarball packaged impala-shell ...................................................................... IMPALA-13326: Prefer python3 for tarball packaged impala-shell The tarball packaging for impala-shell ships support for multiple Python versions (including both Python 2 and Python 3). In the impala-shell script, it determines the python to use and uses the corresponding installation. Historically, impala-shell has preferred the "python" executable (which can be Python 2) to the "python3" executable. Since Python 2 is deprecated, this flips the preference to prefer "python3" to "python". This continues to respect IMPALA_PYTHON_EXECUTABLE as before, but it adds an IMPALA_SHELL_PYTHON_FALLBACK variable to determine whether to fall back to the regular logic. This defaults to true, allowing fallback, to maintain existing behavior. The shell end-to-end tests set this to false to lock in the Python version. Testing: - Ran shell tests Change-Id: If0e32e8eee672e4dc66e725722f5150cd1e4c9a6 --- M shell/packaging/impala-shell M tests/shell/util.py 2 files changed, 34 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/53/22953/1 -- To view, visit http://gerrit.cloudera.org:8080/22953 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: If0e32e8eee672e4dc66e725722f5150cd1e4c9a6 Gerrit-Change-Number: 22953 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell <[email protected]>
