[ https://issues.apache.org/jira/browse/PHOENIX-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581565#comment-14581565 ]
Gabriel Reid commented on PHOENIX-2032: --------------------------------------- [~ndimiduk] I just took another quick look at this, and it seems that phoenix-queryserver-client is being included in the client jar, but its transitive dependencies (i.e. Calcite) aren't being pulled in, which is what leads to this issue. I guess that's also how the reference to the Calcite driver and the queryserver driver are also being added to the META-INF/services file. {code} $ jar tf phoenix-4.5.0-SNAPSHOT-client.jar | grep queryserver org/apache/phoenix/queryserver/ org/apache/phoenix/queryserver/server/ org/apache/phoenix/queryserver/server/Main.class org/apache/phoenix/queryserver/server/PhoenixMetaFactory.class org/apache/phoenix/queryserver/server/PhoenixMetaFactoryImpl.class org/apache/phoenix/queryserver/client/ org/apache/phoenix/queryserver/client/Driver.class org/apache/phoenix/queryserver/client/ThinClientUtil.class $ jar tf phoenix-4.5.0-SNAPSHOT-client.jar | grep calcite (no output) {code} Is there any reason that phoenix-queryserver-client is being included in the phoenix-client jar? I would think that it's just a matter of excluding it in the assembly descriptors and that should fix things. > psql.py is broken after PHOENIX-2013 > ------------------------------------ > > Key: PHOENIX-2032 > URL: https://issues.apache.org/jira/browse/PHOENIX-2032 > Project: Phoenix > Issue Type: Bug > Affects Versions: 5.0.0, 4.5.0, 4.4.1 > Reporter: Sergio Peleato > Assignee: Nick Dimiduk > Priority: Blocker > Fix For: 5.0.0, 4.5.0, 4.4.1 > > Attachments: PHOENIX-2032.00.patch > > > psql is no longer able to load the phoenix driver after PHOENIX-2013. > {noformat} > $ ./bin/psql.py localhost examples/WEB_STAT.sql > > > java.sql.SQLException: No suitable driver found for jdbc:phoenix:localhost > at java.sql.DriverManager.getConnection(DriverManager.java:596) > at java.sql.DriverManager.getConnection(DriverManager.java:187) > at > org.apache.phoenix.util.PhoenixRuntime.main(PhoenixRuntime.java:183) > {noformat} > Hat-tip to [~chrajeshbab...@gmail.com] for tracking down the breaking change. -- This message was sent by Atlassian JIRA (v6.3.4#6332)