[
https://issues.apache.org/jira/browse/PHOENIX-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Dimiduk updated PHOENIX-2032:
----------------------------------
Attachment: 2032.opt2a.diff
This removes {{phoenix-spark}} from the dependency list of
{{phoenix-assembly}}; I don't think it's needed and all it's dependencies bloat
the client jar significantly. I also had to add a filtering of the license
files because some dependency is including a {{license}} directory (jboss
maybe?), that conflicts with existing {{license}} files. This is further
aggravated by Mac's case-insensitive filesystem.
With this patch applied, I used {{psql.py}} to create a WEB_STATS table, the
client.jar assembly to run {{CsvBulkLoadTool}} to populated it, and
{{sqlline.py}} to scan the table. All looks good.
> 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: 2032.opt2a.diff, 2032.opt2a.diff, 2032.patch,
> 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 [[email protected]] for tracking down the breaking change.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)