phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serega Sheypak <serega.shey...@gmail.com>
Subject What is the right way to use phoenix driver in java?
Date Tue, 01 Sep 2015 21:37:17 GMT
Hi, I wrote ninja-application (ninjaframework.org) with phenix. I used my
custom testing utility to test my app. When I deployd my app to server, I
got exception:

java.sql.SQLException: No suitable driver found for
jdbc:phoenix:node01,node04,node05:2181

at java.sql.DriverManager.getConnection(DriverManager.java:689)
~[na:1.8.0_45]

at java.sql.DriverManager.getConnection(DriverManager.java:270)
~[na:1.8.0_45]

at JdbcFacadeImpl.createConnection(JdbcFacadeImpl.java:52)
~[hbase-phoenix-jdbc-1.0-SNAPSHOT.jar:na]

at JdbcFacadeImpl.executeDDL(JdbcFacadeImpl.java:30)
~[hbase-phoenix-jdbc-1.0-SNAPSHOT.jar:na]

I'm confused with :2181 at the end. I didn't pass it. And code inside
phoenix always add it even if I have it.


That exception happens if I add port for each quorum member.

java.sql.SQLException: No suitable driver found for
jdbc:phoenix:node01:2181,node04: 2181,node05:2181:2181

Mime
View raw message