lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6587) Misleading exception when creating collections in SolrCloud with bad configuration
Date Fri, 03 Oct 2014 20:17:34 GMT

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

ASF subversion and git services commented on SOLR-6587:
-------------------------------------------------------

Commit 1629305 from [~tomasflobbe] in branch 'dev/trunk'
[ https://svn.apache.org/r1629305 ]

SOLR-6587: Correct exception thrown on bad collection configuration in SolrCloud mode

> Misleading exception when creating collections in SolrCloud with bad configuration
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-6587
>                 URL: https://issues.apache.org/jira/browse/SOLR-6587
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.10.1, 5.0, Trunk
>            Reporter: Tomás Fernández Löbbe
>            Assignee: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-6587.patch
>
>
> I uploaded a configuration in bad shape to Zookeeper, then tried to create a collection
and I was getting: 
> {noformat}
> ERROR - 2014-10-03 16:48:25.712; org.apache.solr.core.CoreContainer; Error creating core
[tflobbe_collection1_shard2_replica2]: Could not load conf for core tflobbe_collection1_shard2_replica2:
ZkSolrResourceLoader does not support getConfigDir() - likely, what you are trying to do is
not supported in ZooKeeper mode
> org.apache.solr.common.SolrException: Could not load conf for core tflobbe_collection1_shard2_replica2:
ZkSolrResourceLoader does not support getConfigDir() - likely, what you are trying to do is
not supported in ZooKeeper mode
>         at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66)
>         at org.apache.solr.core.CoreContainer.create(CoreContainer.java:489)
>         at org.apache.solr.core.CoreContainer.create(CoreContainer.java:466)
>         at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:575)
>         at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:199)
>         at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:188)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>         at org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:729)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:258)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>         at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
>         at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>         at org.eclipse.jetty.server.Server.handle(Server.java:368)
>         at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
>         at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
>         at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)
>         at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)
>         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
>         at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
>         at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
>         at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: org.apache.solr.common.cloud.ZooKeeperException: ZkSolrResourceLoader does
not support getConfigDir() - likely, what you are trying to do is not supported in ZooKeeper
mode
>         at org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolrResourceLoader.java:101)
>         at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:147)
>         at org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:80)
>         at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:61)
>         ... 34 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message