Re: Help with recovering shard range after zookeeper disaster

2016-06-28 Thread pramodEbay
Thanks for the reply. Since, we don't have a working snapshot - we are creating brand new zookeeper nodes, re-upload solr configurations and manually create a clusterstate.json. Fortunately, doing a combination of grep and awk on corrupt snapshot - we figured out what the shard ranges were each of

Help with recovering shard range after zookeeper disaster

2016-06-27 Thread pramodEbay
We recently experienced a case where zookeeper snapshot became corrupt and would not restart. zkCli.sh (of zookeeper) would fail with an error unable to connect to / We have a solr cloud with two shards (Keys are autosharded) (Solr version 4.10.1) Unfortunately, we did not have a good snapshot t

Re: Solr 4.8 - Updating zkhost list in solr.xml without requiring a restart

2015-09-30 Thread pramodEbay
> The idea is that your list of zookeeper hostnames is a virtual one, not > a real one. Thanks for the suggestion. Looks like I am not alone in thinking along the same lines. I am planning on doing that and was not sure if anyone else tried this approach and validated that it worked. -- Vie

Solr 4.8 - Updating zkhost list in solr.xml without requiring a restart

2015-09-29 Thread pramodEbay
Hi, Is there an example which I could use - to upload solr.xml in zookeeper and change zkhost entries on the fly and have solr instances be updated via zookeeper. This will prevent us from restarting each solr node everytime, a new zookeeper host is added or deleted. We are on Solr 4.8. Thanks,

When does SolrJ client add isShard=true automatically to the query

2015-03-17 Thread pramodEbay
Hi all, We are using 3 shard solr cloud with 5 replicas per shard. We use SolrJ to execute solr queries. Often times, I cannot explain when, but we see in the query, isShard=true and shard.url=. My questions are, 1. Why does this happen intermittently 2. When this happens, will it send reques

How do I disable distributed search feature when I have only one shard

2014-07-21 Thread pramodEbay
Hi there, We have a solr cloud set up with only one shard. There is one leader and 15 followers. So the data is replicated on 15 nodes. When we run a solr query, only one node should handle the request and we do not need any distributed search feature as all the nodes are exact copies of each othe

Solr Replication Issue : Incorrect Base_URL

2014-06-12 Thread pramodEbay
Hi, I am deploying Solr in a larger web application. The standalone solr instance works fine. The path-prefix I use is raptorslrweb. A standalone SOLR query to my instance that works is as follows: http://hostname:8080/raptorslrweb/solr/reviews/select?q=*%3A*&wt=json&indent=true However, when I c