How did you create your “product” collection? It looks like you have the config 
resident on your local disk and _not_ on ZooKeeper.

Your configset has to be in ZooKeeper when you create your collection of 
course. Do not try to individually edit the core.properties files, that’ll be 
very difficult to do correctly. 

And you’ll have to completely re-index anyway since Lucene 8.x will not open an 
index created with 6.x, so why not just start completely anew?

Best,
Erick

> On Mar 26, 2019, at 6:49 AM, vishal patel <vishalpatel200...@outlook.com> 
> wrote:
> 
> 
> My previous solr version was 6.1.0 and zoo keeper version was 3.4.6. Now I am 
> upgrading solr version 8.0.0 and zoo keeper 3.4.13.
> In solr 6.1.0 my collection(product) folder server\solr\product
> conf
> schema.xml
> solrconfig.xml
> core.properties
> 
> In core.properties ::
> name=product
> shard=shard1
> collection=product
> 
> In solr 8.0.0, I changed only solrconfig.xml and all other things keep same.
> I created 3 zoo keeper and one shard. First I start all 3 zoo keeper and then 
> start the solr, below ERROR come
> 
> 
> 2019-03-26 13:06:49.367 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$259/523051393.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$45/898628429.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-26 13:06:49.382 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$259/523051393.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$45/898628429.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
> 
> 
> 
> Is it needed to change core property or any changes for up the product 
> collection successfully?
> 
> 
> Regards,
> Vishal

Reply via email to