2

I'm attempting to connect to Phoenix-Hbase via JDBC. Actually I already have a Phoenix connection through DBeaver and I'm trying to replicate it in python. I tried:

import jaydebeapi
conn = jaydebeapi.connect("org.apache.phoenix.jdbc.PhoenixDriver",    
'jdbc:phoenix:host_name', r'C:\Users\XXXX\Desktop\phoenix-core-4.5.2-HBase-0.98.jar') 

but this returns me

java.lang.RuntimeException: Class org.apache.phoenix.jdbc.PhoenixDriver not found

well, I double-checked Class Name, Phoenix and Hbase versions, but I noticed no anomalies. So I looked at DBeaver Phoenix driver settings which look like this, a very long list of drivers that I really don't know how to get them all at once and eventually how to use them into code

Ignus
  • 139
  • 1
  • 8

0 Answers0