AutoAddReplicas doesn't work with TLOG and PULL replicas

2019-10-10 Thread David Kovář
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

Re: autoAddReplicas – what am I missing?

2018-10-01 Thread Shawn Heisey
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

autoAddReplicas – what am I missing?

2018-10-01 Thread Michael B. Klein
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

autoAddReplicas doesn't respect replicationFactor?

2017-10-03 Thread Radu Gheorghe
/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

Re: Question about autoAddReplicas

2017-03-31 Thread Sumit Nigam
"shard2":{ > "range":"0-7fff", > "state":"active", > "replicas":{"core_node2":{ > "core":"collection1_shard2_replica1", > "bas

RE: Question about autoAddReplicas

2017-03-30 Thread Tseng, Danny
"core":"collection1_shard2_replica1", "base_url":"http://psvrlxcdh5mmdev3.somewhere.com:48193/solr";, "node_name":"psvrlxcdh5mmdev3.somewhere.com:48193_solr", "state":"down", &q

Question about autoAddReplicas

2017-03-30 Thread Tseng, Danny
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

Re: AutoAddReplicas

2016-07-21 Thread Erick Erickson
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

Re: AutoAddReplicas

2016-07-20 Thread Joe Obernberger
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

Re: AutoAddReplicas

2016-07-20 Thread Erick Erickson
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

AutoAddReplicas

2016-07-20 Thread Joe Obernberger
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