Is this some kind of typo in your slave configuration? 'cause it's
kinda weird. The error
mentioning collection1 indicates I think that the masterUrl is not
parseable (and somehow
doesn't throw a parsing error on startup) and the old default was "collection1".

This URL should point to a single core on your master as:
  <str name="masterUrl">http://remote_host:port/solr/core_name/replication</str>

   <lst name="slave">

                                <str
name="enable">${slave.replication.enabled:true}</str>

                                <str
name="masterUrl">http://someip:someport/solr/corename/replication</str<http://someip:someport/solr/corename/replication%3c/str<http://someip:someport/solr/corename/replication%3c/str%3chttp:/someip:someport/solr/corename/replication%3c/str>>>

                                <str name="pollInterval">00:00:60</str>

                </lst>

Best,
Erick

On Wed, Feb 10, 2016 at 7:26 AM, Richardson, Jacquelyn F.
<fluke...@ornl.gov> wrote:
> All,
>
>
>
> I have solr 4.7 installed in a Windows 7 environment.  My solrconfig.xml on 
> the master is:
>
>
>
> <requestHandler name="/replication" class="solr.ReplicationHandler" >
>
>   <lst name="master">
>
>                 <str name="enable">${master.replication.enabled:true}</str>
>
>                 <str name="replicateAfter">commit</str> <!-- Triggers 
> replication whenever a commit is performed on the master index. -->
>
>                 <str name="replicateAfter">startup</str>
>
>                  <str name="replicateAfter">optimize</str> <!-- Triggers 
> replication whenever the master index is optimized. -->
>
>                  <str name="backupAfter">optimize</str>
>
>                 <str name="backupAfter">commit</str>
>
>                </lst>
>
>                                 <int name="maxNumberOfBackups">1</int>
>
>                 </requestHandler>
>
>
>
> Solrconfig.xml on the slave is:
>
>                 <requestHandler name="/replication" 
> class="solr.ReplicationHandler" >
>
>                 <lst name="slave">
>
>                                 <str 
> name="enable">${slave.replication.enabled:true}</str>
>
>                                 <str 
> name="masterUrl">http://someip:someport/solr/corename/replication</str<http://someip:someport/solr/corename/replication%3c/str<http://someip:someport/solr/corename/replication%3c/str%3chttp:/someip:someport/solr/corename/replication%3c/str>>>
>
>                                 <str name="pollInterval">00:00:60</str>
>
>                 </lst>
>
>                  </requestHandler>
>
>
>
> If I copy the link in the slave in a browser I have no trouble hitting it 
> however when I issue the HTTP API details command on slave 
> (http://slaveip:slaveport/solr/replication?command=details) I get the 
> following response:
>
>
>
> `    <?xml version="1.0" encoding="UTF-8" ?>
>
> -<http://fegtest.extranet.ornl.gov/solr/replication?command=details> 
> <response> 
> -<http://fegtest.extranet.ornl.gov/solr/replication?command=details> <lst 
> name="responseHeader">
>
>   <int name="status">0</int>
>
>   <int name="QTime">15023</int>
>
>   </lst>
>
> -<http://fegtest.extranet.ornl.gov/solr/replication?command=details> <lst 
> name="details">
>
>   <str name="indexSize">66.51 MB</str>
>
>   <str name="indexPath">Z:\solr\corename\data\index/</str>
>
> -<http://fegtest.extranet.ornl.gov/solr/replication?command=details> <arr 
> name="commits"> 
> -<http://fegtest.extranet.ornl.gov/solr/replication?command=details> <lst>
>
>   <long name="indexVersion">1453488595973</long>
>
>   <long name="generation">1090</long>
>
> -<http://fegtest.extranet.ornl.gov/solr/replication?command=details> <arr 
> name="filelist">
>
>   <str>_hh.fdt</str>
>
>   <str>_hh.fdx</str>
>
>   <str>_hh.fnm</str>
>
>   <str>_hh.nvd</str>
>
>   <str>_hh.nvm</str>
>
>   <str>_hh.si</str>
>
>   <str>_hh_Lucene41_0.doc</str>
>
>   <str>_hh_Lucene41_0.pos</str>
>
>   <str>_hh_Lucene41_0.tim</str>
>
>   <str>_hh_Lucene41_0.tip</str>
>
>   <str>_hi.fdt</str>
>
>   <str>_hi.fdx</str>
>
>   <str>_hi.fnm</str>
>
>   <str>_hi.nvd</str>
>
>   <str>_hi.nvm</str>
>
>   <str>_hi.si</str>
>
>   <str>_hi_2.del</str>
>
>   <str>_hi_Lucene41_0.doc</str>
>
>   <str>_hi_Lucene41_0.pos</str>
>
>   <str>_hi_Lucene41_0.tim</str>
>
>   <str>_hi_Lucene41_0.tip</str>
>
>   <str>_hj.fdt</str>
>
>   <str>_hj.fdx</str>
>
>   <str>_hj.fnm</str>
>
>   <str>_hj.nvd</str>
>
>   <str>_hj.nvm</str>
>
>   <str>_hj.si</str>
>
>   <str>_hj_Lucene41_0.doc</str>
>
>   <str>_hj_Lucene41_0.pos</str>
>
>   <str>_hj_Lucene41_0.tim</str>
>
>   <str>_hj_Lucene41_0.tip</str>
>
>   <str>_hk.fdt</str>
>
>   <str>_hk.fdx</str>
>
>   <str>_hk.fnm</str>
>
>   <str>_hk.nvd</str>
>
>   <str>_hk.nvm</str>
>
>   <str>_hk.si</str>
>
>   <str>_hk_Lucene41_0.doc</str>
>
>   <str>_hk_Lucene41_0.pos</str>
>
>   <str>_hk_Lucene41_0.tim</str>
>
>   <str>_hk_Lucene41_0.tip</str>
>
>   <str>_hl.fdt</str>
>
>   <str>_hl.fdx</str>
>
>   <str>_hl.fnm</str>
>
>   <str>_hl.nvd</str>
>
>   <str>_hl.nvm</str>
>
>   <str>_hl.si</str>
>
>   <str>_hl_Lucene41_0.doc</str>
>
>   <str>_hl_Lucene41_0.pos</str>
>
>   <str>_hl_Lucene41_0.tim</str>
>
>   <str>_hl_Lucene41_0.tip</str>
>
>   <str>_hm.fdt</str>
>
>   <str>_hm.fdx</str>
>
>   <str>_hm.fnm</str>
>
>   <str>_hm.nvd</str>
>
>   <str>_hm.nvm</str>
>
>   <str>_hm.si</str>
>
>   <str>_hm_Lucene41_0.doc</str>
>
>   <str>_hm_Lucene41_0.pos</str>
>
>   <str>_hm_Lucene41_0.tim</str>
>
>   <str>_hm_Lucene41_0.tip</str>
>
>   <str>_hn.fdt</str>
>
>   <str>_hn.fdx</str>
>
>   <str>_hn.fnm</str>
>
>   <str>_hn.nvd</str>
>
>   <str>_hn.nvm</str>
>
>   <str>_hn.si</str>
>
>   <str>_hn_Lucene41_0.doc</str>
>
>   <str>_hn_Lucene41_0.pos</str>
>
>   <str>_hn_Lucene41_0.tim</str>
>
>   <str>_hn_Lucene41_0.tip</str>
>
>   <str>_ho.fdt</str>
>
>   <str>_ho.fdx</str>
>
>   <str>_ho.fnm</str>
>
>   <str>_ho.nvd</str>
>
>   <str>_ho.nvm</str>
>
>   <str>_ho.si</str>
>
>   <str>_ho_1.del</str>
>
>   <str>_ho_Lucene41_0.doc</str>
>
>   <str>_ho_Lucene41_0.pos</str>
>
>   <str>_ho_Lucene41_0.tim</str>
>
>   <str>_ho_Lucene41_0.tip</str>
>
>   <str>segments_ua</str>
>
>   </arr>
>
>   </lst>
>
>   </arr>
>
>   <str name="isMaster">false</str>
>
>   <str name="isSlave">true</str>
>
>   <long name="indexVersion">1453488595973</long>
>
>   <long name="generation">1090</long>
>
> -<http://fegtest.extranet.ornl.gov/solr/replication?command=details> <lst 
> name="slave">
>
>   <str name="ERROR">invalid_master</str>
>
>   <str 
> name="masterUrl">http://masterip:masterport/solr/collection1</str<http://masterip:masterport/solr/collection1%3c/str>>
>
>   <str name="pollInterval">00:00:60</str>
>
>   <str name="nextExecutionAt">Wed Feb 10 07:33:00 EST 2016</str>
>
>   <str name="indexReplicatedAt">Wed Feb 10 07:31:15 EST 2016</str> 
> -<http://fegtest.extranet.ornl.gov/solr/replication?command=details> <arr 
> name="indexReplicatedAtList">
>
>   <str>Wed Feb 10 07:31:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:29:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:28:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:27:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:26:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:25:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:23:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:22:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:21:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:20:15 EST 2016</str>
>
>   </arr>
>
> -<http://fegtest.extranet.ornl.gov/solr/replication?command=details> <arr 
> name="replicationFailedAtList">
>
>   <str>Wed Feb 10 07:31:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:29:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:28:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:27:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:26:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:25:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:23:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:22:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:21:15 EST 2016</str>
>
>   <str>Wed Feb 10 07:20:15 EST 2016</str>
>
>   </arr>
>
>   <str name="timesIndexReplicated">9301</str>
>
>   <str name="lastCycleBytesDownloaded">0</str>
>
>   <str name="timesFailed">9301</str>
>
>   <str name="replicationFailedAt">Wed Feb 10 07:31:15 EST 2016</str>
>
>   <str name="previousCycleTimeInSeconds">15</str>
>
>   <str name="currentDate">Wed Feb 10 07:32:21 EST 2016</str>
>
>   <str name="isPollingDisabled">false</str>
>
>   <str name="isReplicating">false</str>
>
>   </lst>
>
>   </lst>
>
>   <str name="WARNING">This response format is experimental. It is likely to 
> change in the future.</str>
>
>   </response>
>
>
>
> In the solr log file I am getting the following error:
>
>                 ERROR - 2016-02-10 08:04:15.170; 
> org.apache.solr.handler.SnapPuller; Master at: 
> http://masterip:masterport/solr/collection1 is not available. Index fetch 
> failed. Exception: IOException occured when talking to server at: 
> http://masterip:masterip/solr/collection1
>
>
>
> Any assistance any one can give me will be greatly appreciated.
>
>
>
> Thanks,
>
> Jackie
>
>
> Jackie Richardson
> National Transportation Research Center
> 2360 Cherahala Blvd.
> Knoxville, Tennessee 37932
> Phone: (865) 946-1465
> Fax: (865) 946-1314
> fluke...@ornl.gov<mailto:fluke...@ornl.gov>
> www.fueleconomy.gov<http://www.fueleconomy.gov/>
>

Reply via email to