You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by yi...@apache.org on 2023/09/16 23:00:40 UTC

[hudi] branch master updated: [HUDI-6867] Upgrade thrift's version to 0.13.0 (#9360)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 17c504237c7 [HUDI-6867] Upgrade thrift's version to 0.13.0 (#9360)
17c504237c7 is described below

commit 17c504237c72ac219e85885df36b596a896ae503
Author: Dongsj <90...@users.noreply.github.com>
AuthorDate: Sun Sep 17 07:00:28 2023 +0800

    [HUDI-6867] Upgrade thrift's version to 0.13.0 (#9360)
    
    Co-authored-by: dongsj <do...@asiainfo.com>
---
 .../hudi-metaserver/src/main/thrift/bin/thrift_in_docker.sh    |  4 ++--
 .../hudi-metaserver/src/main/thrift/bin/thrift_in_mac_m1.sh    | 10 +---------
 pom.xml                                                        |  2 +-
 3 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/hudi-platform-service/hudi-metaserver/src/main/thrift/bin/thrift_in_docker.sh b/hudi-platform-service/hudi-metaserver/src/main/thrift/bin/thrift_in_docker.sh
index 7ff2174ff22..72a2fb8c8d0 100755
--- a/hudi-platform-service/hudi-metaserver/src/main/thrift/bin/thrift_in_docker.sh
+++ b/hudi-platform-service/hudi-metaserver/src/main/thrift/bin/thrift_in_docker.sh
@@ -20,8 +20,8 @@ printf "====== INSTALL THRIFT START ======\n"
 PARENT_PATH=$(dirname "$PWD")
 THRIFT_FILE_PATH=${PARENT_PATH}/src/main/thrift
 THRIFT_OUT_PATH=${PARENT_PATH}/target/generated-sources
-THRIFT_VERSION=0.12.0
-THRIFT_IMAGE=thrift:$THRIFT_VERSION
+THRIFT_VERSION=0.13.0
+THRIFT_IMAGE=omnisci/thrift:$THRIFT_VERSION
 docker pull $THRIFT_IMAGE
 printf "====== INSTALL THRIFT END ======\n"
 printf "====== COMPILE THRIFT SOURCE FILE START ======\n"
diff --git a/hudi-platform-service/hudi-metaserver/src/main/thrift/bin/thrift_in_mac_m1.sh b/hudi-platform-service/hudi-metaserver/src/main/thrift/bin/thrift_in_mac_m1.sh
index 0033e130b87..18e6cd407b1 100755
--- a/hudi-platform-service/hudi-metaserver/src/main/thrift/bin/thrift_in_mac_m1.sh
+++ b/hudi-platform-service/hudi-metaserver/src/main/thrift/bin/thrift_in_mac_m1.sh
@@ -16,16 +16,8 @@
 #  See the License for the specific language governing permissions and
 # limitations under the License.
 
-#
-# Usage: ./scripts/checkout_pr.sh
-#
-# Checkout a PR given the PR number into a local branch. PR branches are named
-# using the convention "pull/<PR_NUMBER>", to enable pr_push_command.sh to work
-# in tandem.
-#
-
 printf "====== INSTALL THRIFT START ======\n"
-brew install thrift@0.12.0
+brew install thrift@0.13.0
 printf "====== INSTALL THRIFT END ======\n"
 printf "====== COMPILE THRIFT SOURCE FILE START ======\n"
 PARENT_PATH=$(dirname "$PWD")
diff --git a/pom.xml b/pom.xml
index 694b7b300a7..002a939da10 100644
--- a/pom.xml
+++ b/pom.xml
@@ -183,7 +183,7 @@
     <scalatest.spark3.version>3.1.0</scalatest.spark3.version>
     <scalatest.version>${scalatest.spark3.version}</scalatest.version>
     <surefire-log4j.file>log4j2-surefire.properties</surefire-log4j.file>
-    <thrift.version>0.12.0</thrift.version>
+    <thrift.version>0.13.0</thrift.version>
     <javalin.version>4.6.7</javalin.version>
     <jetty.version>9.4.48.v20220622</jetty.version>
     <htrace.version>3.1.0-incubating</htrace.version>