On 7/6/2015 6:10 AM, Adrian Liew wrote: > Does anyone know where information about SolrCloud cluster is stored? > I.E the below info?
The mailing list eats attachments. I cannot see the picture you have embedded. > Is this stored in somewhere in ZooKeeper? In my case I am using an > external Zookeeper server setup in an Ensemble. Al of the information about the cluster is stored in zookeeper. How it is stored depends on the version. In earlier 4.x, the clusterstate is stored as a single "clusterstate.json" file at the root of the zookeeper "tree". In 5.x, it is broken up into per-collection clusterstates, and I do not remember exactly where it lives. You can go to the admin UI and click Cloud->Tree to see the everything in zookeeper. Changing the information there can be done with the zkcli script included with Solr, or using the zookeeper plugins for eclipse or intellij idea. > Does anyone know how to clear their SolrCloud cluster. I.E I will like > to remove collections initially made to the cluster and start fresh again. You can use the Collections API to delete collections. https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api6 > I have attempted this stackoverflow > http://stackoverflow.com/questions/16579242/solrcloud-delete-collection-bug > but managed to get a blank json in which I thought I can edit and then > reupload it to ZooKeeper. It sounds like you've either got something wrong with your Solr nodes or you've run into a bug. What happens in the logs when you try to delete, and what version of Solr are you running? Thanks, Shawn