Re: Re: Inconsistent client version issue

2024-09-09 Thread Duo Zhang
I checked the code in hbase, even for branch-1.0, there is no HConnectionManager$HConnectionImplementation any more. HBase 0.98 still has this class. Could you please check the hbase jars for your hive installation? Is it hbase 1.x or 0.98? Thanks. Miao Wang 于2024年9月9日周一 14:20写道: > > > > > Okay

Re: Inconsistent client version issue

2024-09-09 Thread Istvan Toth
Hive 1.1 is from 2015, and has a pre 1.0 HBase version. https://github.com/apache/hive/blob/e60744d017ef79f1b17f474c0b969d4ca5592462/pom.xml#L124 So the exception seems to be justified. Istvan On Mon, Sep 9, 2024 at 8:05 AM 张铎(Duo Zhang) wrote: > Could you please provide the full stack trace w

Re: Re: Re: Inconsistent client version issue

2024-09-09 Thread Duo Zhang
We only guarantee that the server can read by a client which major version is the same with the server or less than 1. We do not guarantee the compatibility where the major version gap is greater than 1. So you'd better try upgrade your hive version, or build your own hive version to upgrade the h

How to handle Remote Exceptions when shading HBase client

2024-09-09 Thread Minwoo Kang
Hello, community I am creating an in-house library using the HBase client library and distributing it so that other users can use it. To prevent conflicts with the user library, we shaded the HBase package. (For example, org.apahce.hadoop.hbase... -> good.company.org.apahce.hadoop.hbase...) Howev

Re: How to handle Remote Exceptions when shading HBase client

2024-09-09 Thread Bryan Beaudreault
We used to do this years ago at my company. You have to find the various ProtobufUtil and RemoteException related classes, wherever the remote classname string is parsed from a protobuf into a Class. You need to push some custom code to rewrite the strings there. I think there were two or three spo