Hi Mark,

Thanks for you response.

I did delete the data directory, but that didn't help. However, upon
checking my zookeeper installation I found a "clusterstate.json" item that
contained references to core data directories that didn't exist anymore. I
wiped this item and it seems to work fine now.

Thanks for your help!

Rene



On Sat, Feb 9, 2013 at 8:47 PM, Mark Miller <markrmil...@gmail.com> wrote:

> Did you clear the data dir for all 3 zk's? If not, you will find ghosts
> coming back to haunt you :)
>
> It's often easier to clear zk programmatically - for example it's one call
> from the cmd line zkcli script.
>
> http://wiki.apache.org/solr/SolrCloud#Command_Line_Util
>
> - Mark
>
> On Feb 9, 2013, at 1:19 PM, Rene Nederhand <r...@nederhand.net> wrote:
>
> > Hi,
> >
> > I am experimenting with SolrCloud (v. 4.1) and everything seems to work
> > fine.
> >
> > Now I would like to restart with a clean environment, but I cannot get
> rid
> > of all the collections, shards and cores I have created.
> >
> > What I did:
> > - Closed down all Zookeeper servers (I have an ensemble of 3) and Solr
> > servers (also 3)
> > - I have deleted the "collections" and "configs" from zookeeper;
> > - I deleted the data directory (version-2) from zookeeper
> > - I deleted my solr home (with all data files)
> > - Edited Solr.xml so there is no reference to instances anymore.
> >
> > When I restart, I get an error about no existing SolrCores, but after
> > adding a new config, collection and one SolrCore I see a graph of all
> > previous existing shards/cores.
> >
> > How can I go back to a clean state? How to remove these
> collections/shards?
> >
> > Thanks for helping.
> >
> > Rene
>
>

Reply via email to