phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja sekhara reddy <>
Subject RE: Phoenix dependency jar for PhoenixDataSource
Date Fri, 28 Feb 2020 01:38:49 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.


I found PhoenixDataSource from below Phoenix docs.

Best Regards,
Raja Chintala

View raw message