We would like to use SOLR in "Master-Slave" configuration (3 TLOG
replicas as a "master" and several PULL replicas as "slave" for read
queries). AutoAddReplicas option is turned on. Here is example of
initialization query:
http://10.0.48.200:9092/solr/a
live_nodes and turns
gray on the cloud diagram.
Expected: 3 fully green collections replicated on .1, .3, and .4, and .2
dropped from the cloud.
Actual: 3 collections replicated on .1 (green), .2 (gray), and .3 (green),
and .4 nowhere to be seen (except in live_nodes).
In older versions, autoAddReplicas
Hi,
I have a SolrCloud 6.6.5 cluster with three nodes (.1, .2, .3). It has 3
collections, all of which are configured with replicationFactor=3 and
autoAddReplicas=true. When I go to the Cloud/Graph page of the admin
interface, I see what I expect – 3 collections, 3 nodes each, all green.
Then I
/solr
- upload a config and create a collection:
bin/solr zk upconfig -n hdfs -d
./server/solr/configsets/data_driven_schema_configs/conf -z
localhost:2181
curl
"http://localhost:8983/solr/admin/collections?action=CREATE&name=hdfs1&numShards=1&replicationFactor=1&autoAddRepl
"shard2":{
> "range":"0-7fff",
> "state":"active",
> "replicas":{"core_node2":{
> "core":"collection1_shard2_replica1",
> "bas
"core":"collection1_shard2_replica1",
"base_url":"http://psvrlxcdh5mmdev3.somewhere.com:48193/solr";,
"node_name":"psvrlxcdh5mmdev3.somewhere.com:48193_solr",
"state":"down",
&q
Hi,
I create a collection of 2 shards with 1 replication factor and enable
autoAddReplicas. Then I kill shard2 with 'kill -9' . The overseer asked the
other solr node to create a new solr core and point to the dataDir of shard2.
Unfortunately, the new core failed to come up beca
Easy to do.
Glad it's working for you.
Erick
On Wed, Jul 20, 2016 at 6:02 PM, Joe Obernberger
wrote:
> Thank you Erick! I miss-read the webpage.
>
> -Joe
>
>
> On 7/20/2016 7:57 PM, Erick Erickson wrote:
>>
>> autoAddReplicas is _not_ specified in solr.x
Thank you Erick! I miss-read the webpage.
-Joe
On 7/20/2016 7:57 PM, Erick Erickson wrote:
autoAddReplicas is _not_ specified in solr.xml. The things you can
change in solr.xml are some of the properties used in dealing with
collections _created_ with autoAddReplicas. See the CREATE action
autoAddReplicas is _not_ specified in solr.xml. The things you can
change in solr.xml are some of the properties used in dealing with
collections _created_ with autoAddReplicas. See the CREATE action in
the collections API here:
https://cwiki.apache.org/confluence/display/solr/Collections+API
Hi - I'm not sure how to enable autoAddReplicas to be true for
collections. According to here:
https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS
it is specified in solr.xml, but I tried adding:
true
and that results in an error. What am I doing wrong?
Thanks!
-Joe
11 matches
Mail list logo