bq: is not a valid URL.

You need to add an end point like*:*

for SolrJ you need to specify the collection, depending on the version
you might have to setDefaultCollection or use a call that includes the

And it's _much_ better if you provide the smallest _complete_ code
sample you can. You've told us how you create the cloudSolrClient, but
the call you get the error from, makes it hard to diagnose problems.


On Fri, Apr 13, 2018 at 12:22 AM, way2srinivas
<> wrote:
> Hi ,
> I am getting the below error when I try to connect solr nodes using
> zookeeper cluster. Can you please help me to debug this.
> org.apache.solr.client.solrj.SolrServerException: No live SolrServers
> available to handle this request:[,
> When I check the zookeeper, The collectiton names are under solr zk node
> collections directory but this is
> not valid URL when I checked on the browser.
> We tried to connect using this way
> // Using a ZK Host String
> String zkHostString = "zkServerA:2181,zkServerB:2181,zkServerC:2181/solr";
> SolrClient solr = new
> CloudSolrClient.Builder().withZkHost(zkHostString).build();
> --
> Sent from:

Reply via email to