From 4578237a68cb6c67933ffa9782287ad8336bd3a1 Mon Sep 17 00:00:00 2001 From: Guanghao Zhang Date: Wed, 13 Feb 2019 16:11:58 +0800 Subject: [PATCH] HBASE-21889 Use thrift 0.12.0 when build thrift by compile-thrift profile --- hbase-thrift/pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 30102e8380d..46c46a0af8f 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -360,12 +360,12 @@ thrift.version "The Thrift version must be specified." - 0\.9\.3 + 0\.12\.0 - - [FATAL] ========================================================================================== -[FATAL] HBase Thrift requires the thrift generator version 0.9.3. +[FATAL] HBase Thrift requires the thrift generator version 0.12.0. [FATAL] Setting it to something else needs to be reviewed for wire and behavior compatibility. [FATAL] ========================================================================================== - @@ -413,7 +413,7 @@ -strict --gen - java:hashcode + java -out ${basedir}/src/main/java ${basedir}/src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift @@ -432,7 +432,7 @@ -strict --gen - java:hashcode + java -out ${basedir}/src/main/java ${basedir}/src/main/resources/org/apache/hadoop/hbase/thrift2/hbase.thrift