Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1
-
None
Description
HBASE-22232 made changes to the Thrift definition switching TCompareOp to TCompareOperator. This change led to the following errors:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project hbase-thrift: Compilation failure: Compilation failure: [ERROR] /home//hbase/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftTable.java:[419,73] incompatible types: org.apache.hadoop.hbase.thrift2.generated.TCompareOp cannot be converted to org.apache.hadoop.hbase.thrift2.generated.TCompareOperator [ERROR] /home/hbase/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java:[99,8] org.apache.hadoop.hbase.thrift2.ThriftHBaseServiceHandler is not abstract and does not override abstract method checkAndMutate(java.nio.ByteBuffer,java.nio.ByteBuffer,java.nio.ByteBuffer,java.nio.ByteBuffer,org.apache.hadoop.hbase.thrift2.generated.TCompareOperator,java.nio.ByteBuffer,org.apache.hadoop.hbase.thrift2.generated.TRowMutations) in org.apache.hadoop.hbase.thrift2.generated.THBaseService.Iface [ERROR] /home/hbase/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java:[341,3] method does not override or implement a method from a supertype
This errors need to be resolved.
Attachments
Issue Links
- is caused by
-
HBASE-22232 Remove deprecated methods in CompareFilter
- Resolved
- relates to
-
HBASE-21714 Deprecated isTableAvailableWithSplit method in thrift module
- Resolved
- links to