Re: Solr on HDFS: adding a shard replica

2016-09-14 Thread Erick Erickson
The core_node name is largely irrelevant, you should have names more descriptive in the state.json file like collection1_shard1_replica1. You happen to see 19 because you have only one replica per shard, Exactly how are you creating the replica? What version of Solr? If you're using the "core admi

Re: Solr on HDFS: adding a shard replica

2016-09-13 Thread Chetas Joshi
Is this happening because I have set replicationFactor=1? So even if I manually add replica for the shard that's down, it will just create a dataDir but would not copy any of the data into the dataDir? On Tue, Sep 13, 2016 at 6:07 PM, Chetas Joshi wrote: > Hi, > > I just started experimenting wi

Solr on HDFS: adding a shard replica

2016-09-13 Thread Chetas Joshi
Hi, I just started experimenting with solr cloud. I have a solr cloud of 20 nodes. I have one collection with 18 shards running on 18 different nodes with replication factor=1. When one of my shards goes down, I create a replica using the Solr UI. On HDFS I see a core getting added. But the data