HBASE-21889 Use thrift 0.12.0 when build thrift by compile-thrift profile
authorGuanghao Zhang <zghao@apache.org>
Wed, 13 Feb 2019 08:11:58 +0000 (16:11 +0800)
committerGuanghao Zhang <zghao@apache.org>
Wed, 13 Feb 2019 09:14:22 +0000 (17:14 +0800)
hbase-thrift/pom.xml

index c516c3f..f3bbb6a 100644 (file)
                     <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] ==========================================================================================
 -
                   <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>
                   <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>