Hmmm, does your master have an index? In other words have you added anything to it? I actually doubt that's an issue, but....
An aside, a polling interval of 20 seconds is rather short, beware of your autowarming time exceeding your index updates.... But my _first_ guess is that somehow you're Solrs aren't the same version or you have a foo'd index on your master. Best Erick On Mon, Apr 23, 2012 at 12:10 PM, geeky2 <gee...@hotmail.com> wrote: > hello all, > > enviornment: centOS and solr 3.5 > > i am attempting to set up replication betweeen two solr boxes (master and > slave). > > i am getting the following in the logs on the slave box. > > 2012-04-23 10:54:59,985 SEVERE [org.apache.solr.handler.SnapPuller] > (pool-12-thread-1) Master at: > http://someip:someport/somepath/somecore/admin/replication/ is not > available. Index fetch failed. Exception: Invalid version (expected 2, but > 10) or the data in not in 'javabin' format > > master jvm (jboss host) is being started like this: > > -Denable.master=true > > slave jvm (jboss host) is being started like this: > > -Denable.slave=true > > does anyone have any ideas? > > i have done the following: > > used curl http://someip:someport/somepath/somecore/admin/replication/ from > slave to successfully see master > > used ping from slave to master > > switched out the dns name for master to hard coded ip address > > made sure i can see > http://someip:someport/somepath/somecore/admin/replication/ in a browser > > > this is my request handler - i am using the same config file on both the > master and slave - but sending in the appropriate switch on start up (per > the solr wiki page on replication) > > <lst name="master"> > > <str name="enable">${enable.master:false}</str> > <str name="replicateAfter">startup</str> > <str name="replicateAfter">commit</str> > > > > <str name="confFiles">schema.xml,stopwords.txt,elevate.xml</str> > > <str name="commitReserveDuration">00:00:10</str> > </lst> > > <str name="maxNumberOfBackups">1</str> > <lst name="slave"> > > <str name="enable">${enable.slave:false}</str> > <str > name="masterUrl">http://someip:someport/somecore/admin/replication/</str> > > <str name="pollInterval">00:00:20</str> > > > <str name="compression">internal</str> > > <str name="httpConnTimeout">5000</str> > <str name="httpReadTimeout">10000</str> > > </lst> > </requestHandler> > > > any suggestions would be great > > thank you, > mark > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-replication-failing-with-error-Master-at-is-not-available-Index-fetch-failed-tp3932921p3932921.html > Sent from the Solr - User mailing list archive at Nabble.com.