[
https://issues.apache.org/jira/browse/SOLR-8179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018485#comment-15018485
]
Joel Bernstein edited comment on SOLR-8179 at 11/20/15 6:43 PM:
----------------------------------------------------------------
[~risdenk], reviewed this closely today. Found a couple small things and one
possible blocker. The blocker is that we need to be able to support the zk
Quorum and chroot. There's no existing tests for this but I believe the
existing parsing technique would work for this. Here is the string we need to
support for the zkHost:
zoo1:9983,zoo2:9983,zoo3:9983/foo/bar
I suspect this will break the URI.
Any thoughts on this?
was (Author: joel.bernstein):
[~risdenk], reviewed this closely today. Found a couple small things one
possible blocker. The blocker is that we need to be able to support the zk
Quorum and chroot. There's no existing tests for this but I believe the
existing parsing technique would work for this. Here is the string we need to
support for the zkHost:
zoo1:9983,zoo2:9983,zoo3:9983/foo/bar
I suspect this will break the URI.
Any thoughts on this?
> SQL JDBC - DriverImpl loadParams doesn't support keys with no values in the
> connection string
> ---------------------------------------------------------------------------------------------
>
> Key: SOLR-8179
> URL: https://issues.apache.org/jira/browse/SOLR-8179
> Project: Solr
> Issue Type: Bug
> Components: SolrJ
> Affects Versions: Trunk
> Reporter: Kevin Risden
> Assignee: Joel Bernstein
> Attachments: SOLR-8179.patch
>
>
> DBVisualizer and SquirrelSQL when trying to use JDBC with no
> username/password and the JDBC driver causes an exception.
> {code}
> DriverManager.getConnection("jdbc:solr://" + zkHost +
> "?collection=collection1&username=&password=");
> {code}
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
> at
> org.apache.solr.client.solrj.io.sql.DriverImpl.loadParams(DriverImpl.java:141)
> ... 46 more
> {code}
> The loadParams method doesn't support keys with no values.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]