Hi Ravi,
It looks like you're invoking the PhoenixInputFormat class directly from
Spark, which actually bypasses the phoenix-spark integration completely.
Others on the list might be more helpful with regards to Java
implementation, but I suspect if you start with using the DataFrame API,
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,
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
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
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
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
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