lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ShiJie Mao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-4727) Exception throws when using collection aliases and ClouldSolrServer
Date Wed, 17 Apr 2013 03:57:16 GMT
ShiJie Mao created SOLR-4727:
--------------------------------

             Summary: Exception throws when using collection aliases and ClouldSolrServer
                 Key: SOLR-4727
                 URL: https://issues.apache.org/jira/browse/SOLR-4727
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.2
            Reporter: ShiJie Mao
             Fix For: 4.2


[2013-04-16 18:27:18]  ERROR org.apache.solr.core.SolrCore - org.apache.solr.common.SolrException:
Could not find collection:test_collection
        at org.apache.solr.common.cloud.ClusterState.getCollection(ClusterState.java:136)
        at org.apache.solr.handler.component.HttpShardHandler.addSlices(HttpShardHandler.java:414)
        at org.apache.solr.handler.component.HttpShardHandler.checkDistributed(HttpShardHandler.java:315)
        at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:182)
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1797)
        at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:637)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:343)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:141)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:989)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
        at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1763)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)


SolrDispatchFilter#doFilter didn't update collection aliase correctly.
When using CloudSolrServer client, the core is not null at SolrDispatchFilter.java line 239.
So ZkStateReader#updateAliases wasn't called.

--
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