Hi,
I am trying to read Hbase tables in pyspark data frame,
I am using the below code
but I am getting the ClassNotFoundException error

 
df=sqlContext.read.format('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


Rgds

In

Reply via email to