Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22323

Thrift generation broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 3.0.0-alpha-1
    • Thrift
    • 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

          Activity

            People

              janh Jan Hentschel
              janh Jan Hentschel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: