Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Furkan KAMACI
Ok, it works 2013/4/25 Mark Miller > I think it's numShards, not numshards. > > - Mark > > On Apr 25, 2013, at 12:07 PM, Furkan KAMACI > wrote: > > > Hi; > > If you can help it would be nice: > > > > I have erased the data. I use that commands: > > > > Firstly I do that: > > > > java -Xms512M -

Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Mark Miller
I think it's numShards, not numshards. - Mark On Apr 25, 2013, at 12:07 PM, Furkan KAMACI wrote: > Hi; > If you can help it would be nice: > > I have erased the data. I use that commands: > > Firstly I do that: > > java -Xms512M -Xmx5120M -Dsolr.solr.home=/home/solr-4.2.1/solr > -Dsolr.data.

Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Furkan KAMACI
Ooppss, I wrote numshards, I think it should be numShards 2013/4/25 Michael Della Bitta > Today I learned there's a clear command in the command line util. :) > > Michael Della Bitta > > > Appinions > 18 East 41st Street, 2nd Floor > New York, NY

Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Michael Della Bitta
Today I learned there's a clear command in the command line util. :) 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 12:00 PM, Mark Mill

Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Furkan KAMACI
Hi; If you can help it would be nice: I have erased the data. I use that commands: Firstly I do that: java -Xms512M -Xmx5120M -Dsolr.solr.home=/home/solr-4.2.1/solr -Dsolr.data.dir=/home/solr-4.2.1/solr/data -Dnumshards=2 -Dbootstrap_confdir=/home/solr-4.2.1/solr/collection1/conf -Dcollection.co

Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Mark Miller
Of course deleting the collection and then recreating it should also work - if it doesn't, there is a bug to address. - Mark On Apr 25, 2013, at 12:00 PM, Mark Miller wrote: > What are you doing to clean zk? > > You should be able to simply use the ZkCli clear cmd: > > http://wiki.apache.org

Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Mark Miller
What are you doing to clean zk? You should be able to simply use the ZkCli clear cmd: http://wiki.apache.org/solr/SolrCloud#Command_Line_Util Just make sure you stop your Solr instances before clearing it. Clearing out zk from under a running Solr instance is not a good thing to do. This shoul

Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Furkan KAMACI
You said: Otherwise, use rmr to delete these files and folders. Can you give an example? 2013/4/25 Otis Gospodnetic > 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 B

Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Otis Gospodnetic
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 wrote: > This is what I have done. > > 1. Turn off all your Solr nodes. > > 2. Ssh to one of your zookeeper machines and run Zookeepe

Re: How to Clean Zookeeper Data for Solr

2013-04-25 Thread Michael Della Bitta
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.