Re: New cloud - replica in recovering state?
On 09/08/2014 02:55 AM, Erick Erickson wrote: I really recommend you use the new-style core discovery, if for no other reason than this style is deprecated in 5.0. See: https://wiki.apache.org/solr/Solr.xml%204.4%20and%20beyond Oh I didn't know that. Anyway problem I experienced was result of wrong hostPort and/or hostContext set in cores tag. After I fixed those, now it works, but anyway I will take a look into new way of setting up cores. Ty!
Re: New cloud - replica in recovering state?
Whew! Thanks for letting us know... Yeah, the core discovery mode seems easier to use when maintaining lots of cores since solr.xml can be a pain. That said, whatever works of course. Erick On Mon, Sep 8, 2014 at 4:28 AM, Jakov Sosic jso...@gmail.com wrote: On 09/08/2014 02:55 AM, Erick Erickson wrote: I really recommend you use the new-style core discovery, if for no other reason than this style is deprecated in 5.0. See: https://wiki.apache.org/solr/Solr.xml%204.4%20and%20beyond Oh I didn't know that. Anyway problem I experienced was result of wrong hostPort and/or hostContext set in cores tag. After I fixed those, now it works, but anyway I will take a look into new way of setting up cores. Ty!
Re: New cloud - replica in recovering state?
I really recommend you use the new-style core discovery, if for no other reason than this style is deprecated in 5.0. See: https://wiki.apache.org/solr/Solr.xml%204.4%20and%20beyond FWIW, Erick On Sun, Sep 7, 2014 at 8:51 AM, Jakov Sosic jso...@gmail.com wrote: Hi guys, I'm trying to set up new solr cloud, with two core's, each with two shards and two replicas. This is my solr.xml: ?xml version=1.0 encoding=UTF-8 ? solr persistent=true zkHost=10.200.1.104:2181,10.200.1.105:2181,10.200.1.106:2181 cores adminPath=/admin/cores defaultCoreName=mycore1 host=${host:} hostPort=${jetty.port:} hostContext=${hostContext:} zkClientTimeout=${zkClientTimeout:15000} core name=mycore1 instanceDir=mycore1 numShards=2/ core name=mycore2 instanceDir=mycore2 numShards=2/ /cores /solr But when I start everything, I can see 4 cores (each for 1 shard) are green in solr01:8080/solr/#/~cloud, but replicas are in yellow, RECOVERING state. How can I fix them to go from Recovering to Active?