lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4044) CloudSolrServer early connect problems
Date Wed, 05 Dec 2012 19:49:58 GMT

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

Grant Ingersoll commented on SOLR-4044:
---------------------------------------

I think this also happens even if connect is called via the process() method.  AFAICT, from
reading the code, it is due to ZkStateReader being instantiated once in the connect string,
but not really being notified if/when cores/collections are available b/c it doesn't have
anything it can set watches on.

I will try to write up a test to see if I can reproduce this.
                
> CloudSolrServer early connect problems
> --------------------------------------
>
>                 Key: SOLR-4044
>                 URL: https://issues.apache.org/jira/browse/SOLR-4044
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Grant Ingersoll
>
> If you call CloudSolrServer.connect() after Zookeeper is up, but before clusterstate,
etc. is populated, you will get "No live SolrServer" exceptions (line 322 in LBHttpSolrServer):
> {code}
> throw new SolrServerException("No live SolrServers available to handle this request");{code}
> for all requests made even though all the Solr nodes are coming up just fine.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message