Re: Testing Solr Cloud with ZooKeeper

2012-11-13 Thread darul
Looks like after timeout has finished, first solr instance respond I was not waiting enough. Is it possible to reduce this *timeout* value ? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Testing-Solr-Cloud-with-ZooKeeper-tp4018900p4020190.html Sent from the Solr

Re: Testing Solr Cloud with ZooKeeper

2012-11-13 Thread darul
https://issues.apache.org/jira/browse/SOLR-3993 has been resolved. Just few question, is it in trunk, I mean in main distrib downloadable on main solr site. Because I have downloaded it and get still same behaviour while running first instance..or second shards. -- View this message in context

Re: Testing Solr Cloud with ZooKeeper

2012-11-09 Thread darul
Yes ku3ia, I read your thread yesterday and looks like we get same issue. I wish Apache Con is nearly finished and expert can resolve this Thanks again to solr community, Jul -- View this message in context: http://lucene.472066.n3.nabble.com/Testing-Solr-Cloud-with-ZooKeeper-tp4018900p4019271

Re: Testing Solr Cloud with ZooKeeper

2012-11-09 Thread ku3ia
Hi, I have near the same problems with cloud state see http://lucene.472066.n3.nabble.com/Replicated-zookeeper-td4018984.html -- View this message in context: http://lucene.472066.n3.nabble.com/Testing-Solr-Cloud-with-ZooKeeper-tp4018900p4019264.html Sent from the Solr - User mailing list archi

Re: Testing Solr Cloud with ZooKeeper

2012-11-09 Thread darul
- Shards : 2 - ZooKeeper Cluster : 3 - One collection. Here is how I run it and my scenario case: In first console, I get first Node (first Shard) running on port 8983: In second console, I get second Node (second Shard) running on port 8984: Here I get just 2 nodes for my 2 shards runn

Re: Testing Solr Cloud with ZooKeeper

2012-11-09 Thread Erick Erickson
you have to have at least one node per shard running for SolrCloud to function. So when you bring down all nodes and start one, then you have some shards with no live nodes and SolrCloud goes into a wait state. Best Erick On Thu, Nov 8, 2012 at 6:17 PM, darul wrote: > Is it same issue as one d

Re: Testing Solr Cloud with ZooKeeper

2012-11-08 Thread darul
Too illustrate: Taking this example, 8983 and 8984 are Shard "owner", 7501/7502 just replicates. If I stop all instance, then restart 8983 or 8984 first, they won't run and asked for replicates too be started... -- View this m

Re: Testing Solr Cloud with ZooKeeper

2012-11-08 Thread darul
Thanks Otis, Indeed here too zoo doc , they advise to choose odd number of zk nodes this way "To create a deployment that can tolerate the failure of F machines, you should count on deploying 2xF+1 machines"...

Re: Testing Solr Cloud with ZooKeeper

2012-11-08 Thread darul
Hello again, With the following config : - 2 zookeeper ensemble - 2 shards - 2 main solr instances for the 2 shards - I added 2, 3 replicates for fun. While running and I stop one replicate, I see in admin ui graph updates (replicate disabled/inactivated)...normal. But if I stopped all solr ins

Re: Testing Solr Cloud with ZooKeeper

2012-11-07 Thread Otis Gospodnetic
You didn't ask about this, but you'll want an odd number of zookeeper nodes. Think voting. Otis -- Performance Monitoring - http://sematext.com/spm On Nov 7, 2012 4:43 PM, "darul" wrote: > Yes instanceDir attribute point to new created core (with no conf dir) so > it > is stranged... > > but loo

Re: Testing Solr Cloud with ZooKeeper

2012-11-07 Thread darul
Yes instanceDir attribute point to new created core (with no conf dir) so it is stranged... but looks like I have played to much: when I start main solr shard. I try everything again tomorrow and give you feedback. -- View this message in context: http://lucene.472066.n3.nabble.com/Testin

Re: Testing Solr Cloud with ZooKeeper

2012-11-07 Thread Erick Erickson
Right. Solr uses zookeeper only for configuration information. The index resides on the machines running solr. bq: In my solr instances directory tree, /solr/mycollection/ sometimes I have an "index" or "index.20121107185908378" You can configure Solr to keep snapshots of indexes around under co

Re: Testing Solr Cloud with ZooKeeper

2012-11-07 Thread darul
I reply to myself : darul wrote > * > Few questions: * > - my both zookeeper have their own data directory, as usual, but I did not > see so much change inside after indexing examples docs. Are data stored > their or just / > configuration (conf files) / > is stored in zookeeper ensemble ? Can