You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "niuyulin (JIRA)" <ji...@apache.org> on 2019/04/28 11:24:00 UTC

[jira] [Commented] (HBASE-21714) Deprecated isTableAvailableWithSplit method in thrift module

    [ https://issues.apache.org/jira/browse/HBASE-21714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827933#comment-16827933 ] 

niuyulin commented on HBASE-21714:
----------------------------------

I meer error in compling  after generate java code in thrift2 idl

 I think [hbase22232|https://github.com/apache/hbase/pull/144/commits/2f6e8b436868cf5c976d326445422dcf89e3af87#diff-1b0a9c5a1e53d32dd35eb024464fc9cdR787] modify thrift2 idl but not generate java code ,so can pass by

and method in thrift idl shoul not be modified easily? [~Jan Hentschel]

[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

> Deprecated isTableAvailableWithSplit method in thrift module
> ------------------------------------------------------------
>
>                 Key: HBASE-21714
>                 URL: https://issues.apache.org/jira/browse/HBASE-21714
>             Project: HBase
>          Issue Type: Task
>          Components: Thrift
>            Reporter: Duo Zhang
>            Assignee: niuyulin
>            Priority: Major
>
> The one in the Admin interface has already been marked as deprecated but in thrift it is still there.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)