Hi All,
I am trying to connect to HBase using Phoenix JDBC Driver and getting below
error:
This is simple implementation of JDBC connection manager.
=
Caused by: java.lang.IncompatibleClassChangeError: Class
org.apache.hadoop.hbase.proto
Apologies, I missed important details.
Phoenix version: 4.9.0-HBase-1.1
HBase Version: 1.1.2
Regards,
Dhaval Modi
dhavalmod...@gmail.com
On 1 February 2017 at 14:51, Dhaval Modi wrote:
> Hi All,
>
> I am trying to connect to HBase using Phoenix JDBC Driver and getting
> below error:
> This is
Hi Dhaval,
Have you added HBase-protocol jar in your dependencies?
This error shows that you have either the incompatible version of
HBase-protocol jar or you are missing it( might be missed out from the
classpath).
Try to include the proper version(for this case 1.1.2) of the jar or set
this jar
Thanks Anshuman. It was really helpful.
I added HBase-protocol jar in dependency and it got resolved.
But now I am getting different error:
++
Caused by: java.lang.IllegalArgumentException: Can't find method newStub in
org.apache.ph
Hi Dhaval,
This error seems to be due to HBase and Phoenix jar version's mismatch or
due to missing of dependency for HBase-protocol-{version}.jar or
HBase-protobuff-{version}.jar, you will have to check the proper version of
the HBase jars and Phoenix jars used, Please check the versions and
vali
Sounds like you're using the wrong jar on the server side. Or perhaps
you're using a vendor distribution (in which case you'll need to use their
supported Phoenix version). Please review the installation instructions as
everything you need is in the one single jar.
Thanks,
James
On Wed, Feb 1, 201
Hi Anshuman & James,
Thanks for your input.
This issue is resolved. The main reason was the use of HBase-shaded-client
as forced dependency.
I removed it and issue got resolved.
Regards,
Dhaval Modi
dhavalmod...@gmail.com
On 1 February 2017 at 23:38, James Taylor wrote:
> Sounds like you're