Hi,

I am facing replication problem.
I had added a shard replica after the leader's core had been reloaded. I
had expected to start index replication, but it hadn't worked.
Please give me some workaround advice.

My operation commands are following.

ZooKeeper localhost:2181
Solr Shard1 Leader localhost:8983
Solr Shard1 Replica localhost:7574

1. Start Leader. (localhost:8983)
   $ java -Djetty.port=8983 -DzkHost=localhost:2181
-Dbootstrap_confdir=./solr/collection1/conf
-Dcollection.configName=configuration1 -DnumShards=1 -jar start.jar

2. Update the index. (localhost:8983)
   $ curl "http://localhost:8983/solr/update/?commit=true"; -H
"Content-Type: text/xml" --data-binary @./example/exampledocs/hd.xml

3. Reload Leader. (localhost:8983)
   $ curl "
http://localhost:8983/solr/admin/cores?action=RELOAD&core=collection1";

4. Start Replica. (localhost:7574)    ## I had expected to start index
replication, but it hadn't worked.
   $ java -Djetty.port=7574 -DzkHost=localhost:2181 -jar start.jar


Regards,
Minoru


-- 
---------------------------------------------------
Minoru Osuka
minoru.os...@gmail.com

Reply via email to