You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "abhshek@lucene" <ab...@gmail.com> on 2012/12/07 07:53:14 UTC

Replication Problem from solr-3.6 to solr-4.0

Hi All,
I have recently upgraded solr from 3.6 to 4.0. In current replication
configuration, master is solr 3.6 and slave is 4.0.
slave-
     <requestHandler name="/replication" class="solr.ReplicationHandler" >
       <lst name="slave">
         <str name="masterUrl">http://master_url:port/solr/core_name</str>
         <str name="pollInterval">00:00:60</str>
       </lst>
     </requestHandler>
 master-
<requestHandler name="/replication" class="solr.ReplicationHandler" >
    <lst name="master">
        <str name="replicateAfter">commit</str>
        <str name="replicateAfter">startup</str>
        <str name="backupAfter">optimize</str>
        <str name="commitReserveDuration">00:00:10</str>
    </lst>
    <str name="maxNumberOfBackups">1</str>
</requestHandler>

Replication is not working after commit on master. following is snapshot of
log file:
INFO: Starting replication process
Dec 7, 2012 11:41:00 AM org.apache.solr.handler.SnapPuller fetchFileList
SEVERE: No files to download for index generation: 25603
Dec 7, 2012 11:42:00 AM org.apache.solr.handler.SnapPuller fetchLatestIndex
INFO: Master's generation: 25603
Dec 7, 2012 11:42:00 AM org.apache.solr.handler.SnapPuller fetchLatestIndex
INFO: Slave's generation: 1
Dec 7, 2012 11:42:00 AM org.apache.solr.handler.SnapPuller fetchLatestIndex
INFO: Starting replication process
Dec 7, 2012 11:42:00 AM org.apache.solr.handler.SnapPuller fetchFileList
SEVERE: No files to download for index generation: 25603
Dec 7, 2012 11:43:00 AM org.apache.solr.handler.SnapPuller fetchLatestIndex
INFO: Master's generation: 25603
Dec 7, 2012 11:43:00 AM org.apache.solr.handler.SnapPuller fetchLatestIndex
INFO: Slave's generation: 1
Dec 7, 2012 11:43:00 AM org.apache.solr.handler.SnapPuller fetchLatestIndex

Any help will be really appreciable.

Thanks
Abhishek



--
View this message in context: http://lucene.472066.n3.nabble.com/Replication-Problem-from-solr-3-6-to-solr-4-0-tp4025028.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Replication Problem from solr-3.6 to solr-4.0

Posted by "Sree.." <as...@gmail.com>.
I did optimize the master and the slave started replicating the indices!



--
View this message in context: http://lucene.472066.n3.nabble.com/Replication-Problem-from-solr-3-6-to-solr-4-0-tp4025028p4148953.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Replication Problem from solr-3.6 to solr-4.0

Posted by askumar1444 <as...@gmail.com>.
Same with me too, in a multi-core Master/Slave.

11:17:30.476 [snapPuller-8-thread-1] INFO  o.a.s.h.SnapPuller - Master's
generation: 87
11:17:30.476 [snapPuller-8-thread-1] INFO  o.a.s.h.SnapPuller - Slave's
generation: 3
11:17:30.476 [snapPuller-8-thread-1] INFO  o.a.s.h.SnapPuller - Starting
replication process
11:17:30.713 [snapPuller-8-thread-1] ERROR o.a.s.h.SnapPuller - No files to
download for index generation: 87

Any solution/fix for it?



--
View this message in context: http://lucene.472066.n3.nabble.com/Replication-Problem-from-solr-3-6-to-solr-4-0-tp4025028p4148703.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Replication Problem from solr-3.6 to solr-4.0

Posted by yuegary <yu...@yahoo.com>.
Hi,

i am running into the exact same problem:

27534 [qtp989080272-12] INFO  org.apache.solr.core.SolrCore  – [collection1]
webapp=/solr path=/replication
params={command=details&_=1394164320017&wt=json} status=0 QTime=12 
28906 [qtp989080272-12] INFO  org.apache.solr.core.SolrCore  – [collection1]
webapp=/solr path=/replication
params={command=fetchindex&_=1394164321407&wt=json} status=0 QTime=0 
28910 [explicit-fetchindex-cmd] INFO  org.apache.solr.handler.SnapPuller  –
Master's generation: 17100
28911 [explicit-fetchindex-cmd] INFO  org.apache.solr.handler.SnapPuller  –
Slave's generation: 1
28911 [explicit-fetchindex-cmd] INFO  org.apache.solr.handler.SnapPuller  –
Starting replication process
28915 [explicit-fetchindex-cmd] ERROR org.apache.solr.handler.SnapPuller  –
No files to download for index generation: 17100

I am using solr 4.7 on slave. Master is running solr 3.5
Would you be able to shed some light?

Thank you in advance!



--
View this message in context: http://lucene.472066.n3.nabble.com/Replication-Problem-from-solr-3-6-to-solr-4-0-tp4025028p4121896.html
Sent from the Solr - User mailing list archive at Nabble.com.