Common problems and resolutions
Now the installation is successful. Let's try to address some of the common problems and their solutions you may face during setup.
Question: I have been using SolrCloud for a long time. Now when I run it, it shows me some of the old nodes in the current cluster landscape. How do I fix it?
Answer: This can be fixed by cleaning the Zookeeper metadata; however, first you need to back up the existing Zookeeper metadata using the zkCLI
command (the get
/getfile
calls). Once you back up the Zookeeper, shut down all the instances, and rename the zoo_data
directory under $SOLR_HOME/example/solr
to some other name, and then restart SolrCloud and Zookeeper. This will recreate the Zookeeper configuration again and add configuration directories. You can validate the new cluster configuration of Apache Zookeeper by running zkCLI
with the following command:
[zk: node1:2181(CONNECTED) 4] get /clusterstate.json
This will show the complete details of the cluster. You can also...