You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Uddgam Singh <ud...@gmail.com> on 2014/11/18 12:36:49 UTC

Could not connect to ZooKeeper x.x.x.x:2181/solr within 10000 ms

Hi Experts, Its an urgent issue, Please advice :- I am Running solrj
program which connect to Solr server and run queries and gives result-set.
Queries :-2 level Nested queries First level fetch 154 rows. Each row
contain 2 fields Second Level fetch only counts for 154 rows Now problem:-
It working fine for 50 rowset but when that rowset is set to 80, it gives
errors: org.apache.solr.common.SolrException:
java.util.concurrent.TimeoutException: Could not connect to ZooKeeper
x.x.x.x:2181/solr within 10000 ms at
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:151) at
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:102) at
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:92) at
org.apache.solr.common.cloud.ZkStateReader.<init>(ZkStateReader.java:209)
at
org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:241)
at
org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:524)
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
Loaded data set is of 7.2 MB Vmware configuration:- 4 core, 4 gb ram
Cloudera 4.5 setup.

-- 
With Regards,
Uddgam Singh

Re: Could not connect to ZooKeeper x.x.x.x:2181/solr within 10000 ms

Posted by Erick Erickson <er...@gmail.com>.
bq: Cloudera 4.5 setup

Probably should ask this on the Cloudera user's list.

But a 10,000 ms timeout is pretty low, I'd increase that. I suspect
the 80 rows bit is coincidental and there's something else happening.

Best,
Erick

On Tue, Nov 18, 2014 at 3:36 AM, Uddgam Singh
<ud...@gmail.com> wrote:
> Hi Experts, Its an urgent issue, Please advice :- I am Running solrj
> program which connect to Solr server and run queries and gives result-set.
> Queries :-2 level Nested queries First level fetch 154 rows. Each row
> contain 2 fields Second Level fetch only counts for 154 rows Now problem:-
> It working fine for 50 rowset but when that rowset is set to 80, it gives
> errors: org.apache.solr.common.SolrException:
> java.util.concurrent.TimeoutException: Could not connect to ZooKeeper
> x.x.x.x:2181/solr within 10000 ms at
> org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:151) at
> org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:102) at
> org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:92) at
> org.apache.solr.common.cloud.ZkStateReader.<init>(ZkStateReader.java:209)
> at
> org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:241)
> at
> org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:524)
> at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
> at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
> Loaded data set is of 7.2 MB Vmware configuration:- 4 core, 4 gb ram
> Cloudera 4.5 setup.
>
> --
> With Regards,
> Uddgam Singh