You said: Otherwise, use rmr to delete these files and folders.

Can you give an example?


2013/4/25 Otis Gospodnetic <otis.gospodne...@gmail.com>

> Nice.  Sounds like FAQ/Wiki material, Mike! :)
>
> Otis
> --
> Solr & ElasticSearch Support
> http://sematext.com/
>
>
>
>
>
> On Thu, Apr 25, 2013 at 11:33 AM, Michael Della Bitta
> <michael.della.bi...@appinions.com> wrote:
> > This is what I have done.
> >
> > 1. Turn off all your Solr nodes.
> >
> > 2. Ssh to one of your zookeeper machines and run Zookeeper's CLI. On
> > my machine, it's in /usr/lib/zookeeper/bin.
> >
> > 3. If you've chrooted Solr, just rmr /solr_chroot_dir.  Otherwise, use
> > rmr to delete these files and folders:
> >
> > clusterstate.json
> > aliases.json
> > live_nodes
> > overseer
> > overseer_elect
> > collections
> >
> > If you use a chroot jail, make it again with "create /solr_chroot_dir []"
> >
> > 4. Use Solr's zkCli to upload your configs again.
> >
> > 5. Start all your Solr nodes.
> >
> > 6. Create your collections again.
> >
> > Michael Della Bitta
> >
> > ------------------------------------------------
> > Appinions
> > 18 East 41st Street, 2nd Floor
> > New York, NY 10017-6271
> >
> > www.appinions.com
> >
> > Where Influence Isn’t a Game
> >
> >
> > On Thu, Apr 25, 2013 at 11:27 AM, Furkan KAMACI <furkankam...@gmail.com>
> wrote:
> >> I have a Zookeepeer ensemble with three machines. I have started a
> cluster
> >> with one shard. However I decided to change my shard number. I want to
> >> clean Zookeeper data but whatever I do I always get one shard and rest
> of
> >> added Solr nodes are as replica.
> >>
> >> What should I do?
>

Reply via email to