Re: Read Hbase table in pyspark

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Read Hbase table in pyspark

Indtiny S
please help on this .

On Wed, Oct 25, 2017 at 11:35 AM, Indtiny S <[hidden email]> wrote:
I am trying to read Hbase tables in pyspark data frame,
I am using the below code 
but I am getting the ClassNotFoundException error'jdbc').options(driver="org.apache.phoenix.jdbc.PhoenixDriver",url='jdbc:phoenix:localhost:2181:/hbase-unsecure',dbtable='table_name').load()

java.lang.ClassNotFoundException: org.apache.phoenix.jdbc.PhoenixDriver 

I have the libraries phoenix-spark-4.7.0-HBase-1.1.jar and phoenix-4.7.0-HBase-1.1-client.jar but dont know where to place them .

I am using zeppelin 0.7.0