Thanks Hoss, this is exactly what I needed. I had previously run the example using nothing more than an external ZK hosting my own configuration. This of course means one of two things - my conf was bad, or Solr was at fault. The conf has been working for ages so I didn't test a replacement (it's amazing how a little frustration can fuel such hubris). I had thought to do this before - and should have; I uploaded the full example collection configuration to ZK just now and tried again. Magic, it worked, which left me feeling a bit glum. Well, happy that it wasn't Solr. Now if you'll excuse me, I have a conf review to perform.
Darren On Wed, Jan 21, 2015 at 6:48 PM, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > : I posted a question on stackoverflow but in hindsight this would have > been > : a better place to start. Below is the link. > : > : Basically I can't get the example working when using an external ZK > cluster > : and auto-core discovery. Solr 4.10.1 works fine, but the newest release > > your SO URL shows the output of using your custom configs, but not what > you got with the example configs -- so it's not clear to me if there is > really just one problem, or perhaps 2? > > you also mentioned a lot of details about how you are using solr with zk, > and what doens't work, but it's not clear if you tried other simpler steps > using your configs -- or the example configs -- and if those simpler *did* > work (ie: single node solr startup?) > > my best guess, based on the logs you did post and the mention of > "lib/mq/solr-search-ahead-2.0.0.jar" in those logs, is that the entire > question of zk and slcuster state and leaders is a red herring, and what > you are running into is: SOLR-6643... > > https://issues.apache.org/jira/browse/SOLR-6643 > > ...if i'm right, then simple core discovery with your configs on a single > node solr instance w/o any knowledge of ZK will also fail to init the core > -- and if you try to use the CoreAdmin API to CREATE a core, you'll ge > some kind of LinkageError. > > > > > : Here is the stackoverflow question, along with the full log output: > : > http://stackoverflow.com/questions/28004832/solr-4-10-3-is-not-proceeding-to-leader-election-on-new-cluster-startup-hangs > > > -Hoss > http://www.lucidworks.com/ > -- Darren