This is an automated email from the ASF dual-hosted git repository. michaelsmith pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
commit e2b0a027b7a9c5ccb127ca318f273ea1f18f127c Author: Zoltan Borok-Nagy <[email protected]> AuthorDate: Mon Jan 5 14:54:20 2026 +0100 IMPALA-14658: Support distcc server on Ubuntu 22.04 Trivial update of the distcc scripts to support Ubuntu 22.04. This change also drops support of Ubuntu 18 and earlier versions. Testing: * tested manually Change-Id: Ic086dd0f3219ee38abbb2cf885d6407456dcf9e0 Reviewed-on: http://gerrit.cloudera.org:8080/23826 Reviewed-by: Daniel Vanko <[email protected]> Reviewed-by: Laszlo Gaal <[email protected]> Tested-by: Zoltan Borok-Nagy <[email protected]> --- bin/distcc/distcc_server_bootstrap.sh | 4 ++-- bin/distcc/distcc_server_setup.sh | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/bin/distcc/distcc_server_bootstrap.sh b/bin/distcc/distcc_server_bootstrap.sh index 3c5ee77d7..5a88ecf66 100755 --- a/bin/distcc/distcc_server_bootstrap.sh +++ b/bin/distcc/distcc_server_bootstrap.sh @@ -36,8 +36,8 @@ fi OS_ID=$(source /etc/os-release && echo $ID) OS_VERSION=$(source /etc/os-release && echo $VERSION_ID) if [[ "$OS_ID" == Ubuntu ]]; then - if ! [[ $OS_VERSION == 16.04 || $OS_VERSION == 18.04 || $OS_VERSION == 20.04 ]]; then - echo "This script only supports Ubuntu 16.04, 18.04, and 20.04" >&2 + if ! [[ $OS_VERSION == 20.04 || $OS_VERSION == 22.04 ]]; then + echo "This script only supports Ubuntu 20.04 and 22.04" >&2 exit 1 fi fi diff --git a/bin/distcc/distcc_server_setup.sh b/bin/distcc/distcc_server_setup.sh index 05a88d90b..55a81a631 100755 --- a/bin/distcc/distcc_server_setup.sh +++ b/bin/distcc/distcc_server_setup.sh @@ -18,7 +18,7 @@ # under the License. # This script automates setup of distcc servers on Ubuntu and CentOS. It has been tested -# on Ubuntu 14.04, 16.04 and 18.04 and CentOS 6 and 7. See bin/distcc/README.md for manual +# on Ubuntu 20.04 and 22.04 and CentOS 6 and 7. See bin/distcc/README.md for manual # setup instructions and background. # # Usage: @@ -60,9 +60,8 @@ ALLOWED_NETS=$1 OS_ID=$(source /etc/os-release && echo "$ID") OS_VERSION=$(source /etc/os-release && echo "$VERSION_ID") if [[ "$OS_ID" == ubuntu ]]; then - if ! [[ $OS_VERSION == 14.04 || $OS_VERSION == 16.04 || $OS_VERSION == 18.04 || \ - $OS_VERSION == 20.04 ]]; then - echo "This script only supports Ubuntu 14.04, 16.04, 18.04, and 20.04" >&2 + if ! [[ $OS_VERSION == 20.04 || $OS_VERSION == 22.04 ]]; then + echo "This script only supports Ubuntu 20.04 and 22.04" >&2 exit 1 fi LINUX_FLAVOUR=ubuntu
