You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2022/09/09 05:21:40 UTC

[impala] 01/03: IMPALA-11492: Add langpacks-en (centos) and language-pack-en (Ubuntu)

This is an automated email from the ASF dual-hosted git repository.

stigahuang pushed a commit to branch branch-4.1.1
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 96fcc7286b59101f4aa2b10f5fbe66fe0c9065cb
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Fri Jul 22 12:53:08 2022 -0700

    IMPALA-11492: Add langpacks-en (centos) and language-pack-en (Ubuntu)
    
    Machines that don't have en_US.UTF-8 installed see
    issues when running ExprTest.Utf8MaskTest.
    This currently impacts the Docker-based tests.
    This installs the appropriate language packs
    to have en_US.UTF-8 installed.
    
    Testing:
     - Ran docker-based tests and verified that
       ExprTest.Utf8MaskTest passes.
    
    Change-Id: I1b8696190e4713bda787e773d48943b5dfc6335e
    Reviewed-on: http://gerrit.cloudera.org:8080/18875
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
    Reviewed-by: Quanlong Huang <hu...@gmail.com>
    Reviewed-on: http://gerrit.cloudera.org:8080/18950
    Reviewed-by: Joe McDonnell <jo...@cloudera.com>
    Tested-by: Quanlong Huang <hu...@gmail.com>
---
 bin/bootstrap_system.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/bootstrap_system.sh b/bin/bootstrap_system.sh
index ec7919f77..17fc70efd 100755
--- a/bin/bootstrap_system.sh
+++ b/bin/bootstrap_system.sh
@@ -219,7 +219,8 @@ ubuntu apt-get --yes install ccache curl gawk g++ gcc libffi-dev \
         libkrb5-dev krb5-admin-server krb5-kdc krb5-user libsasl2-dev \
         libsasl2-modules libsasl2-modules-gssapi-mit libssl-dev make ninja-build \
         python-dev python-setuptools postgresql ssh wget vim-common psmisc \
-        lsof openjdk-8-jdk openjdk-8-source openjdk-8-dbg apt-utils git ant
+        lsof openjdk-8-jdk openjdk-8-source openjdk-8-dbg apt-utils git ant \
+        language-pack-en
 # Required by Kudu in the minicluster
 ubuntu20 apt-get --yes install libtinfo5
 ARCH_NAME=$(uname -p)
@@ -266,7 +267,7 @@ redhat sudo yum install -y curl gawk gcc gcc-c++ git krb5-devel krb5-server \
         postgresql postgresql-server \
         wget vim-common nscd cmake fuse-devel zlib-devel \
         psmisc lsof openssh-server redhat-lsb java-1.8.0-openjdk-devel \
-        java-1.8.0-openjdk-src
+        java-1.8.0-openjdk-src langpacks-en
 
 # Enable the Powertools repo for snappy-devel on RedHat 8
 redhat8 sudo yum install -y dnf-plugins-core