[jira] [Resolved] (SOLR-11822) Unable to create core in 7.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (SOLR-11822) Unable to create core in 7.2

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-11822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-11822.
-----------------------------------
    Resolution: Invalid

Since there's been no response, and since it appears to be mixing stand-alone and SolrCloud concepts I'll close. We can re-open if necessary.

> Unable to create core in 7.2
> -----------------------------
>
>                 Key: SOLR-11822
>                 URL: https://issues.apache.org/jira/browse/SOLR-11822
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public)
>    Affects Versions: 7.2
>         Environment: Ubuntu 16 & Centos 7
>            Reporter: Mohandoss
>
> 2018-01-05 08:34:37.496 INFO  (qtp2009221452-22) [   ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores params={schema=schema.xml&dataDir=data&name=profidx&action=CREATE&config=solrconfig.xml&instanceDir=profidx&wt=json&_=1515141248780} status=400 QTime=68
> 2018-01-05 08:44:30.323 INFO  (qtp2009221452-13) [c:profidx   x:profidx] o.a.s.c.ZkController The core 'profidx' had failed to initialize before.
> 2018-01-05 08:44:30.359 ERROR (OverseerStateUpdate-99296267947671552-127.0.1.1:8983_solr-n_0000000000) [   ] o.a.s.c.Overseer Overseer could not process the current clusterstate state update message, skipping the message: {
>   "core":"profidx",
>   "roles":null,
>   "base_url":"http://127.0.1.1:8983/solr",
>   "node_name":"127.0.1.1:8983_solr",
>   "state":"down",
>   "shard":null,
>   "collection":"profidx",
>   "type":"NRT",
>   "operation":"state"}
> java.lang.NullPointerException
> at org.apache.solr.cloud.Assign.defaultCounterValue(Assign.java:180)
> at org.apache.solr.cloud.Assign.assignNode(Assign.java:119)
> at org.apache.solr.cloud.overseer.ReplicaMutator.updateState(ReplicaMutator.java:248)
> at org.apache.solr.cloud.overseer.ReplicaMutator.updateState(ReplicaMutator.java:232)
> at org.apache.solr.cloud.overseer.ReplicaMutator.setState(ReplicaMutator.java:205)
> at org.apache.solr.cloud.Overseer$ClusterStateUpdater.processMessage(Overseer.java:376)
> at org.apache.solr.cloud.Overseer$ClusterStateUpdater.processQueueItem(Overseer.java:273)
> at org.apache.solr.cloud.Overseer$ClusterStateUpdater.run(Overseer.java:224)
> at java.base/java.lang.Thread.run(Thread.java:844)
> 2018-01-05 08:44:30.364 ERROR (qtp2009221452-21) [c:profidx   x:profidx] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: Error CREATEing SolrCore 'profidx': Unable to create core [profidx] Caused by: Could not get shard id for core: profidx
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:987)
> at org.apache.solr.handler.admin.CoreAdminOperation.lambda$static$0(CoreAdminOperation.java:91)
> at org.apache.solr.handler.admin.CoreAdminOperation.execute(CoreAdminOperation.java:384)
> at org.apache.solr.handler.admin.CoreAdminHandler$CallInfo.call(CoreAdminHandler.java:389)
> at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:174)
> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:177)
> at org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:735)
> at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:716)
> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:497)
> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)
> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
> at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
> at org.eclipse.jetty.server.Server.handle(Server.java:534)
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
> at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
> at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
> at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
> at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
> at java.base/java.lang.Thread.run(Thread.java:844)
> Caused by: org.apache.solr.common.SolrException: Unable to create core [profidx]
> at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1053)
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:948)
> ... 37 more
> Caused by: org.apache.solr.common.SolrException: Could not get shard id for core: profidx
> at org.apache.solr.cloud.ZkController.waitForShardId(ZkController.java:1569)
> at org.apache.solr.cloud.ZkController.doGetShardIdAndNodeNameProcess(ZkController.java:1513)
> at org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1622)
> at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1030)
> ... 38 more
> 2018-01-05 08:44:30.364 INFO  (qtp2009221452-21) [c:profidx   x:profidx] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores params={schema=schema.xml&dataDir=data&name=profidx&action=CREATE&config=solrconfig.xml&instanceDir=profidx&wt=json&_=1515140817912} status=400 QTime=640884
> 2018-01-05 08:55:11.143 ERROR (qtp2009221452-13) [c:profidx   x:profidx] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: Error CREATEing SolrCore 'profidx': Unable to create core [profidx] Caused by: Could not get shard id for core: profidx
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:987)
> at org.apache.solr.handler.admin.CoreAdminOperation.lambda$static$0(CoreAdminOperation.java:91)
> at org.apache.solr.handler.admin.CoreAdminOperation.execute(CoreAdminOperation.java:384)
> at org.apache.solr.handler.admin.CoreAdminHandler$CallInfo.call(CoreAdminHandler.java:389)
> at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:174)
> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:177)
> at org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:735)
> at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:716)
> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:497)
> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)
> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
> at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
> at org.eclipse.jetty.server.Server.handle(Server.java:534)
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
> at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
> at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
> at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
> at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
> at java.base/java.lang.Thread.run(Thread.java:844)
> Caused by: org.apache.solr.common.SolrException: Unable to create core [profidx]
> at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1053)
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:948)
> ... 37 more
> Caused by: org.apache.solr.common.SolrException: Could not get shard id for core: profidx
> at org.apache.solr.cloud.ZkController.waitForShardId(ZkController.java:1569)
> at org.apache.solr.cloud.ZkController.doGetShardIdAndNodeNameProcess(ZkController.java:1513)
> at org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1622)
> at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1030)
> ... 38 more
> 2018-01-05 08:55:11.144 INFO  (qtp2009221452-13) [c:profidx   x:profidx] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores params={schema=schema.xml&dataDir=data&name=profidx&action=CREATE&config=solrconfig.xml&instanceDir=profidx&wt=json&_=1515141248780} status=400 QTime=1243723



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]