You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zg...@apache.org on 2019/02/13 09:19:42 UTC

[hbase] branch branch-2.1 updated: HBASE-21889 Use thrift 0.12.0 when build thrift by compile-thrift profile

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

zghao pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 66907c8  HBASE-21889 Use thrift 0.12.0 when build thrift by compile-thrift profile
66907c8 is described below

commit 66907c816f1d5fd0656ec60695ffc0607bc35f12
Author: Guanghao Zhang <zg...@apache.org>
AuthorDate: Wed Feb 13 16:11:58 2019 +0800

    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 8bfdaf3..14d47e5 100644
--- a/hbase-thrift/pom.xml
+++ b/hbase-thrift/pom.xml
@@ -365,12 +365,12 @@
                     <requireProperty>
                       <property>thrift.version</property>
                       <message>"The Thrift version must be specified."</message>
-                      <regex>0\.9\.3</regex>
+                      <regex>0\.12\.0</regex>
                       <regexMessage>
 -
 -
 [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] ==========================================================================================
 -
@@ -418,7 +418,7 @@
                   <arguments>
                     <argument>-strict</argument>
                     <argument>--gen</argument>
-                    <argument>java:hashcode</argument>
+                    <argument>java</argument>
                     <argument>-out</argument>
                     <argument>${basedir}/src/main/java</argument>
                     <argument>${basedir}/src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift</argument>
@@ -437,7 +437,7 @@
                   <arguments>
                     <argument>-strict</argument>
                     <argument>--gen</argument>
-                    <argument>java:hashcode</argument>
+                    <argument>java</argument>
                     <argument>-out</argument>
                     <argument>${basedir}/src/main/java</argument>
                     <argument>${basedir}/src/main/resources/org/apache/hadoop/hbase/thrift2/hbase.thrift</argument>