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
|