Re: Solr Cloud wiping all cores when restart without proper zookeeper directories

2019-01-10 Thread Yogendra Kumar Soni
Chris, These are the steps to reproduce the issue not actually deleting it. Solr is deleting data if it doesn't find collections folder in zookeeper. On Thu, Jan 10, 2019, 6:32 PM Chris Ulicny Out of curiosity, why are you manually deleting nodes in zookeeper? > > It's always seemed to me that

Re: Solr Cloud wiping all cores when restart without proper zookeeper directories

2019-01-10 Thread Chris Ulicny
Out of curiosity, why are you manually deleting nodes in zookeeper? It's always seemed to me that the majority (definitely not all) of modifications needed during normal operations can usually be done through Solr's APIs. Thanks, Chris On Thu, Jan 10, 2019 at 12:04 AM Yogendra Kumar Soni <

Re: Solr Cloud wiping all cores when restart without proper zookeeper directories

2019-01-09 Thread Yogendra Kumar Soni
I have an existing collection http://10.2.12.239:11080/solr/test/select?q=*:*=0 { "responseHeader":{ "zkConnected":true, "status":0, "QTime":121, "params":{ "q":"*:*", "rows":"0"}}, "response":{"numFound":150,"start":0,"maxScore":1.0,"docs":[] }} ls ls

Re: Solr Cloud wiping all cores when restart without proper zookeeper directories

2019-01-09 Thread lstusr 5u93n4
We've seen the same thing on solr 7.5 by doing: - create a collection - add some data - stop solr on all servers - delete all contents of the solr node from zookeeper - start solr on all nodes - create a collection with the same name as in the first step When doing this, solr wipes out the

Re: Solr Cloud wiping all cores when restart without proper zookeeper directories

2019-01-09 Thread Erick Erickson
Solr doesn't just remove directories, this is very likely something in your environment that's doing this. In any case, there's no information here to help diagnose. You must tell us _exactly_ what steps you take in order to have any hope of helping. Best, Erick On Wed, Jan 9, 2019 at 2:48 AM

Solr Cloud wiping all cores when restart without proper zookeeper directories

2019-01-09 Thread Yogendra Kumar Soni
We are running a solr cloud cluster using solr 7.4 with 8 shards. When we started our solr cloud with a zookeeper node (without collections directory but with only solr.xml and configs) our data directory containing core.propery and cores data becomes empty. -- *Thanks and Regards,* *Yogendra