Solr 8.0.0 coreNodeName

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Solr 8.0.0 coreNodeName

vishal patel-2

Hi

I am upgrading the solr 8.0.0 from 6.1.0. Before I can not add the coreNodeName in core.properties and its working fine for me. But when i start the solr 8.0.0 with same core.properties it will give ERROR

2019-03-25 09:01:18.704 ERROR (coreLoadExecutor-13-thread-1-processing-n:192.168.100.145:7991_solr) [c:product s:shard1  x:product] o.a.s.c.ZkController
org.apache.solr.common.SolrException: Could not find collection : product
                at org.apache.solr.common.cloud.ClusterState.getCollection(ClusterState.java:118) ~[solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:10]
                at org.apache.solr.core.CoreContainer.repairCoreProperty(CoreContainer.java:1854) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.cloud.ZkController.checkStateInZk(ZkController.java:1790) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1729) [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1182) [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:695) [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.core.CoreContainer$$Lambda$244/470132045.call(Unknown Source) [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197) [metrics-core-3.2.6.jar:3.2.6]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45]
                at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209) [solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:10]
                at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$56/2019826979.run(Unknown Source) [solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:10]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45]
                at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
2019-03-25 09:01:18.720 ERROR (coreContainerWorkExecutor-2-thread-1-processing-n:192.168.100.145:7991_solr) [   ] o.a.s.c.CoreContainer Error waiting for SolrCore to be loaded on startup
org.apache.solr.common.SolrException: Unable to create core [product]
                at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1210) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:695) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.core.CoreContainer$$Lambda$244/470132045.call(Unknown Source) ~[?:?]
                at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197) ~[metrics-core-3.2.6.jar:3.2.6]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45]
                at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209) [solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:10]
                at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$56/2019826979.run(Unknown Source) [solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:10]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45]
                at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Caused by: org.apache.solr.common.SolrException:
                at org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1760) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1182) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                ... 9 more
Caused by: org.apache.solr.common.SolrException: Could not find collection : product
                at org.apache.solr.common.cloud.ClusterState.getCollection(ClusterState.java:118) ~[solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:10]
                at org.apache.solr.core.CoreContainer.repairCoreProperty(CoreContainer.java:1854) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.cloud.ZkController.checkStateInZk(ZkController.java:1790) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1729) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1182) ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:06]
                ... 9 more
2019-03-25 09:01:18.954 INFO  (main) [   ] o.e.j.s.h.ContextHandler Started o.e.j.w.WebAppContext@65b3f4a4{/solr,file:///E:/SolrCloud-8-0-0/solr-8.0.0-shard-1/server/solr-webapp/webapp/,AVAILABLE}{E:\SolrCloud-8-0-0\solr-8.0.0-shard-1\server/solr-webapp/webapp}
2019-03-25 09:01:18.970 INFO  (main) [   ] o.e.j.s.AbstractConnector Started ServerConnector@4c7a078{HTTP/1.1,[http/1.1, h2c]}{0.0.0.0:7991}
2019-03-25 09:01:18.970 INFO  (main) [   ] o.e.j.s.Server Started @36409ms

My core.properties contain
name=product
shard=shard1
collection=product

My upconfig command :
zkcli.bat -cmd bootstrap -solrhome F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z 192.168.100.222:3181,192.168.100.222:3182,192.168.100.222:3183
My solr start command :
solr start -p 7992

Note : Same command and same core.properties works fine in Solr 6.1.0 but not working with Solr 8.0.0. I created only one shard and 3 zoo keeper.

Regards,
Vishal
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.0.0 coreNodeName

Jason J Baik
This seems related to https://issues.apache.org/jira/browse/SOLR-11503?


On Thu, Mar 28, 2019 at 2:14 AM vishal patel <[hidden email]>
wrote:

>
> Hi
>
> I am upgrading the solr 8.0.0 from 6.1.0. Before I can not add the
> coreNodeName in core.properties and its working fine for me. But when i
> start the solr 8.0.0 with same core.properties it will give ERROR
>
> 2019-03-25 09:01:18.704 ERROR (coreLoadExecutor-13-thread-1-processing-n:
> 192.168.100.145:7991_solr) [c:product s:shard1  x:product]
> o.a.s.c.ZkController
> org.apache.solr.common.SolrException: Could not find collection : product
>                 at
> org.apache.solr.common.cloud.ClusterState.getCollection(ClusterState.java:118)
> ~[solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:10]
>                 at
> org.apache.solr.core.CoreContainer.repairCoreProperty(CoreContainer.java:1854)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.cloud.ZkController.checkStateInZk(ZkController.java:1790)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1729)
> [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1182)
> [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:695)
> [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.core.CoreContainer$$Lambda$244/470132045.call(Unknown
> Source) [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979
> - jimczi - 2019-03-08 12:06:06]
>                 at
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197)
> [metrics-core-3.2.6.jar:3.2.6]
>                 at
> java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45]
>                 at
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
> [solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:10]
>                 at
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$56/2019826979.run(Unknown
> Source) [solr-solrj-8.0.0.jar:8.0.0
> 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:10]
>                 at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_45]
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_45]
>                 at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
> 2019-03-25 09:01:18.720 ERROR
> (coreContainerWorkExecutor-2-thread-1-processing-n:192.168.100.145:7991_solr)
> [   ] o.a.s.c.CoreContainer Error waiting for SolrCore to be loaded on
> startup
> org.apache.solr.common.SolrException: Unable to create core [product]
>                 at
> org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1210)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:695)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.core.CoreContainer$$Lambda$244/470132045.call(Unknown
> Source) ~[?:?]
>                 at
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197)
> ~[metrics-core-3.2.6.jar:3.2.6]
>                 at
> java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45]
>                 at
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
> [solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:10]
>                 at
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$56/2019826979.run(Unknown
> Source) [solr-solrj-8.0.0.jar:8.0.0
> 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 2019-03-08 12:06:10]
>                 at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_45]
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_45]
>                 at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
> Caused by: org.apache.solr.common.SolrException:
>                 at
> org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1760)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1182)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 ... 9 more
> Caused by: org.apache.solr.common.SolrException: Could not find collection
> : product
>                 at
> org.apache.solr.common.cloud.ClusterState.getCollection(ClusterState.java:118)
> ~[solr-solrj-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:10]
>                 at
> org.apache.solr.core.CoreContainer.repairCoreProperty(CoreContainer.java:1854)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.cloud.ZkController.checkStateInZk(ZkController.java:1790)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1729)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 at
> org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1182)
> ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 12:06:06]
>                 ... 9 more
> 2019-03-25 09:01:18.954 INFO  (main) [   ] o.e.j.s.h.ContextHandler
> Started o.e.j.w.WebAppContext@65b3f4a4
> {/solr,file:///E:/SolrCloud-8-0-0/solr-8.0.0-shard-1/server/solr-webapp/webapp/,AVAILABLE}{E:\SolrCloud-8-0-0\solr-8.0.0-shard-1\server/solr-webapp/webapp}
> 2019-03-25 09:01:18.970 INFO  (main) [   ] o.e.j.s.AbstractConnector
> Started ServerConnector@4c7a078{HTTP/1.1,[http/1.1, h2c]}{0.0.0.0:7991}
> 2019-03-25 09:01:18.970 INFO  (main) [   ] o.e.j.s.Server Started @36409ms
>
> My core.properties contain
> name=product
> shard=shard1
> collection=product
>
> My upconfig command :
> zkcli.bat -cmd bootstrap -solrhome
> F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z 192.168.100.222:3181,
> 192.168.100.222:3182,192.168.100.222:3183
> My solr start command :
> solr start -p 7992
>
> Note : Same command and same core.properties works fine in Solr 6.1.0 but
> not working with Solr 8.0.0. I created only one shard and 3 zoo keeper.
>
> Regards,
> Vishal
>