phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja sekhara reddy <raja.reddy47...@gmail.com>
Subject RE: Phoenix dependency jar for PhoenixDataSource
Date Tue, 25 Feb 2020 21:01:48 GMT
Hi Phoenix team,


Currently in my project, we are moving data from solr to hbase which it
should overwrite the existing data. For this , we used saveToPhoenix. But
this is not overwriting the existing data.


So, I made changes to the script to uses PhoenixDataSource class which I
found in the Phoenix documents to save a data frame.

Please find the below screenshot .

[image: unknown.jpg]

Now I’m order to use PhoenixDataSource I imported
org.apache.phoenix.spark.datasource.v2. PhoenixDataSource. For this I tried
to add dependency external jars manually from maven repo.

In repo, I found
Phoenix-spark-4.10.0-HBase-1.1.jar, Phoenix-spark-5.0.0-HBase-1.1.jar and
couple of other versions and I tried. But I couldn’t find
the PhoenixDataSource class in those jars.


Could you please help me, where can I find the jar with this class.. Really
appreciate your help.


FYI:

I found PhoenixDataSource from below Phoenix docs.


https://phoenix.apache.org/phoenix_spark.html
--
Best Regards,
Raja Chintala
(813)203-9974

-- 
Best Regards,
Raja Chintala
(813)203-9974

Mime
View raw message