lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "joe.cohen.m@gmail.com" <joe.cohe...@gmail.com>
Subject Re: solr cloud shards and servers issue
Date Mon, 19 Nov 2012 16:57:19 GMT
How can I unload a solrCore after i killed the running process?


Mark Miller-3 wrote
> On Nov 19, 2012, at 11:24 AM, 

> joe.cohen.m@

>  wrote:
> 
>> Hi
>> I have the following scenario:
>> I have 1 collection across 10 servers. Num of shards: 10.
>> Each server has 2 solr instances running. replication is 2.
>> 
>> I want to move one of the instances to another server. meaning, kill the
>> solr process in server X and start a new solr process in server Y
>> instead.
>> When I kill the solr process in server X, I can still see that instance
>> in
>> the solr-cloud-graph (marked differently).
>> When I run the instance on server Y, it get attahced to another shard,
>> instead of getting into the shard that is now actually missing an
>> instance.
>> 
>> 1. Any way to tell solr/zookeeper  - "Forget about that instance"?
> 
> Unload the SolrCores involved.
> 
>> 2. when running a new solr instance - any way to tell solr/zookeper -
>> "add
>> this instance to shard X"?
> 
> Specify a shardId when creating the core or configuring it in solr.xml and
> make it match the shard you want to add to.
> 
> - Mark





--
View this message in context: http://lucene.472066.n3.nabble.com/solr-cloud-shards-and-servers-issue-tp4021101p4021111.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message