Jan Hentschel created HBASE-22323:
-------------------------------------
Summary: Thrift generation broken
Key: HBASE-22323
URL: https://issues.apache.org/jira/browse/HBASE-22323
Project: HBase
Issue Type: Bug
Components: Thrift
Affects Versions: 3.0.0
Reporter: Jan Hentschel
Assignee: Jan Hentschel
HBASE-22232 made changes to the Thrift definition switching {{TCompareOp}} to
{{TCompareOperator}}. This change led to the following errors:
{code}
[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
{code}
This errors need to be resolved.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)