Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7058417E20 for ; Fri, 3 Oct 2014 20:17:35 +0000 (UTC) Received: (qmail 7662 invoked by uid 500); 3 Oct 2014 20:17:34 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 7599 invoked by uid 500); 3 Oct 2014 20:17:34 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 7588 invoked by uid 99); 3 Oct 2014 20:17:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 20:17:34 +0000 Date: Fri, 3 Oct 2014 20:17:34 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-6587) Misleading exception when creating collections in SolrCloud with bad configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-6587?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14158= 465#comment-14158465 ]=20 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 Solr= Cloud mode > Misleading exception when creating collections in SolrCloud with bad conf= iguration > -------------------------------------------------------------------------= --------- > > 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=C3=A1s Fern=C3=A1ndez L=C3=B6bbe > Assignee: Tom=C3=A1s Fern=C3=A1ndez L=C3=B6bbe > Priority: Minor > Attachments: SOLR-6587.patch > > > I uploaded a configuration in bad shape to Zookeeper, then tried to creat= e a collection and I was getting:=20 > =10=10{noformat} > ERROR - 2014-10-03 16:48:25.712; org.apache.solr.core.CoreContainer; Erro= r 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 supporte= d in ZooKeeper mode > org.apache.solr.common.SolrException: Could not load conf for core tflobb= e_collection1_shard2_replica2: ZkSolrResourceLoader does not support getCon= figDir() - likely, what you are trying to do is not supported in ZooKeeper = mode > at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetServi= ce.java:66) > at org.apache.solr.core.CoreContainer.create(CoreContainer.java:4= 89) > at org.apache.solr.core.CoreContainer.create(CoreContainer.java:4= 66) > at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAct= ion(CoreAdminHandler.java:575) > at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestIn= ternal(CoreAdminHandler.java:199) > at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBo= dy(CoreAdminHandler.java:188) > at org.apache.solr.handler.RequestHandlerBase.handleRequest(Reque= stHandlerBase.java:135) > at org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(= SolrDispatchFilter.java:729) > at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispat= chFilter.java:258) > at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispat= chFilter.java:207) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(= ServletHandler.java:1419) > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandl= er.java:455) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHa= ndler.java:137) > at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHand= ler.java:557) > at org.eclipse.jetty.server.session.SessionHandler.doHandle(Sessi= onHandler.java:231) > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(Conte= xtHandler.java:1075) > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandle= r.java:384) > at org.eclipse.jetty.server.session.SessionHandler.doScope(Sessio= nHandler.java:193) > at org.eclipse.jetty.server.handler.ContextHandler.doScope(Contex= tHandler.java:1009) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHa= ndler.java:135) > at org.eclipse.jetty.server.handler.ContextHandlerCollection.hand= le(ContextHandlerCollection.java:255) > at org.eclipse.jetty.server.handler.HandlerCollection.handle(Hand= lerCollection.java:154) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(Handler= Wrapper.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(Abstra= ctHttpConnection.java:953) > at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler= .content(AbstractHttpConnection.java:1014) > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:86= 1) > at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.ja= va:240) > at org.eclipse.jetty.server.BlockingHttpConnection.handle(Blockin= gHttpConnection.java:72) > at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint= .run(SocketConnector.java:264) > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedTh= readPool.java:608) > at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThr= eadPool.java:543) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.solr.common.cloud.ZooKeeperException: ZkSolrResourc= eLoader does not support getConfigDir() - likely, what you are trying to do= is not supported in ZooKeeper mode > at org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolr= ResourceLoader.java:101) > at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrCon= fig.java:147) > at org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigS= etService.java:80) > at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetServi= ce.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