Normally I will not remove the version-2 folder in ZooKeeper when making changes to the schema.xml or solrconfig.xml. I will just upconfig the new configuration to the ZooKeeper, and do the Reload of the collection in Solr.
Regards, Edwin On Wed, 27 Mar 2019 at 20:53, vishal patel <vishalpatel200...@outlook.com> wrote: > First time i have successfully made product collection using GUI admin > panel in solr 8.0.0. > After some changes in schema.xml, i removed the version-2 folder from zoo > keeper and again upconfig using below command > > zkcli.bat -zkhost 192.168.100.222:3181,192.168.100.222:3182, > 192.168.100.222:3183 -cmd upconfig -confdir > F:/SolrCloud-8-0-0/solr-8.0.0-shard-1/server/solr/configsets/product/conf > -confname product > > Solr start but i can not find the product collection and below error > > 2019-03-27 11:48:17.276 ERROR > (coreContainerWorkExecutor-2-thread-1-processing-n:192.168.100.222:7992_solr) > [ ] o.a.s.c.CoreContainer Error waiting for SolrCore to be loaded on > startup > org.apache.solr.cloud.ZkController$NotInClusterStateException: > coreNodeName core_node2 does not exist in shard shard1, ignore the > exception if the replica was deleted > at > org.apache.solr.cloud.ZkController.checkStateInZk(ZkController.java:1830) > ~[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$258/1816397102.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$46/1324551716.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] > > is it needed to remove version-2 folder of zoo keeper when any changes in > schema.xml? Any solution to make a automatic coreNodeName(core_node2) when > upconfig and solr start? > <http://aka.ms/weboutlook> >