lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-8421) improve error message when zkHost with multiple hosts and redundent chroot specified
Date Tue, 15 Dec 2015 23:51:46 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059131#comment-15059131
] 

Tomás Fernández Löbbe commented on SOLR-8421:
---------------------------------------------

I thought about it. I believe the bad error is because it's considering everything since the
first slash the chroot ("/test,localhost:2182/test")

> improve error message when zkHost with multiple hosts and redundent chroot specified
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-8421
>                 URL: https://issues.apache.org/jira/browse/SOLR-8421
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 5.4
>         Environment: Solr Cloud
>            Reporter: Dmitry Myaskovskiy
>
> If a user mistakenly tries to specify the chroot on every zk host:port  in the zkhosts
string, the error they get is confusing.
> we should try to improve the error/logging to make it more evident what the problem is....
> {panel:title=initial bug report from user}
> I'm trying to run Solr Cloud with following command:
> {code}
> ./bin/solr -f -c -z localhost:2181/test,localhost:2182/test
> {code}
> And getting error:
> {code}
> 749  ERROR (main) [   ] o.a.s.c.SolrCore null:org.apache.solr.common.cloud.ZooKeeperException:
A chroot was specified in ZkHost but the znode doesn't exist. localhost:2181/test,localhost:2182/test
> {code}
> Node "/test" exists in zookeeper. And both:
> {code}
> ./bin/solr -f -c -z localhost:2181,localhost:2182
> {code}
> {code}
> ./bin/solr -f -c -z localhost:2181/test
> {code}
> works fine.
> But I cannot get it work with multiple nodes and chroot specified.
> {panel}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message