You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2022/09/23 15:47:56 UTC

[impala] 02/02: IMPALA-11599/IMPALA-11605: GCC 10: Fix gdb and change to flatbuffers 1.9

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

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 296e94411d3344e2969d4b083036ff238e80ad19
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Thu Sep 22 15:35:45 2022 -0700

    IMPALA-11599/IMPALA-11605: GCC 10: Fix gdb and change to flatbuffers 1.9
    
    This contains two fixes for issues introduced by
    IMPALA-9999's upgrade to GCC 10:
    IMPALA-11599: Builds toolchain gdb with the OS compiler,
    fixing an issue where it could not run on Centos 7 due
    to problems with its RPATH / finding appropriate libstdc++.
    IMPALA-11605: Reverts to flatbuffers 1.9, which avoids
    a mismatch with the version that Hive uses. This avoids
    classpath incompatibility issues.
    
    Testing:
     - Verified that toolchain gdb works on Centos 7
     - Verified that interoperability with Hive is restored
    
    Change-Id: Ieaafdb1da05cab60b254115faaae55dba8b67dfd
    Reviewed-on: http://gerrit.cloudera.org:8080/19034
    Tested-by: Joe McDonnell <jo...@cloudera.com>
    Reviewed-by: Wenzhe Zhou <wz...@cloudera.com>
---
 bin/impala-config.sh | 4 ++--
 fe/pom.xml           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/impala-config.sh b/bin/impala-config.sh
index b4f2e5d85..34034137c 100755
--- a/bin/impala-config.sh
+++ b/bin/impala-config.sh
@@ -77,7 +77,7 @@ export IMPALA_VERSION=4.2.0-SNAPSHOT
 # moving to a different build of the toolchain, e.g. when a version is bumped or a
 # compile option is changed. The build id can be found in the output of the toolchain
 # build jobs, it is constructed from the build number and toolchain git hash prefix.
-export IMPALA_TOOLCHAIN_BUILD_ID=215-9ec4f91d2d
+export IMPALA_TOOLCHAIN_BUILD_ID=223-7cf7e75bc8
 # Versions of toolchain dependencies.
 # -----------------------------------
 export IMPALA_AVRO_VERSION=1.7.4-p5
@@ -100,7 +100,7 @@ export IMPALA_CURL_VERSION=7.78.0
 unset IMPALA_CURL_URL
 export IMPALA_CYRUS_SASL_VERSION=2.1.23
 unset IMPALA_CYRUS_SASL_URL
-export IMPALA_FLATBUFFERS_VERSION=1.12.0
+export IMPALA_FLATBUFFERS_VERSION=1.9.0-p1
 unset IMPALA_FLATBUFFERS_URL
 export IMPALA_GCC_VERSION=10.4.0
 unset IMPALA_GCC_URL
diff --git a/fe/pom.xml b/fe/pom.xml
index 863f285f8..ba69bd5d0 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -351,7 +351,7 @@ under the License.
     <dependency>
       <groupId>com.google.flatbuffers</groupId>
       <artifactId>flatbuffers-java</artifactId>
-      <version>1.12.0</version>
+      <version>1.9.0</version>
     </dependency>
 
     <dependency>