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

Karl Wright commented on CONNECTORS-874:
----------------------------------------

This is the cause of the problem -- but we'll need a workaround before any fix 
is available.


> Solr connector with SolrCloud throws an uncaught runtime exception when it 
> can't connect to zookeeper
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-874
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-874
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Lucene/SOLR connector
>    Affects Versions: ManifoldCF 1.5
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 1.5
>
>
> The exception is as follows:
> {code}
> java.lang.RuntimeException: java.util.concurrent.TimeoutException: Could not 
> connect to ZooKeeper localhost:2181 within 60000 ms
>       at 
> org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:130)
>       at 
> org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:88)
>       at 
> org.apache.solr.common.cloud.ZkStateReader.<init>(ZkStateReader.java:148)
>       at 
> org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:147)
>       at 
> org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:173)
>       at 
> org.apache.manifoldcf.agents.output.solr.HttpPoster$SolrPing.process(HttpPoster.java:1315)
>       at 
> org.apache.manifoldcf.agents.output.solr.HttpPoster$StatusThread.run(HttpPoster.java:1208)
> Caused by: java.util.concurrent.TimeoutException: Could not connect to 
> ZooKeeper localhost:2181 within 60000 ms
>       at 
> org.apache.solr.common.cloud.ConnectionManager.waitForConnected(ConnectionManager.java:173)
>       at 
> org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
>       ... 6 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to