I apologize. There is not a fetchindex command on the master server. But I do 
see this in the logs. Replication does not take place at all. I'm trying to 
figure out why it's not sending the index from the master to the slave after 
sending the fetchindex command.

### SLAVE CATALINA.OUT ###
INFO: [core1] webapp=/solr path=/replication 
params={masterUrl=http://10.10.0.61:8080/solr/core1/replication&command=fetchindex}
 status=0 QTime=0 
Feb 2, 2010 11:49:43 AM org.apache.solr.handler.SnapPuller <init>
INFO:  No value set for 'pollInterval'. Timer Task not started.

### MASTER CATALINA.OUT ###
INFO: [core1] webapp=/solr path=/replication 
params={command=indexversion&wt=javabin} status=0 QTime=0
________________________________________
From: Shalin Shekhar Mangar [shalinman...@gmail.com]
Sent: Tuesday, February 02, 2010 11:36 AM
To: solr-user@lucene.apache.org
Subject: Re: fetchindex not working.

On Tue, Feb 2, 2010 at 10:26 PM, Jeremy Carroll <
jeremy.carr...@networkedinsights.com> wrote:

> I'm trying to get solr to fetch an index from a master server. This does
> not work with our configuration, and throws an error that pollInterval
> cannot be null. I thought to get fetchindex working, that pollInterval
> should not be in the solrconfig.xml file? I have tried adding pollInterval
> to the configuraiton, but it still will not work. Does anybody have any
> experience with this issue?
>
> # REQUEST #
>
> http://solr:8080/solr/core1/replication?command=fetchindex&masterUrl=http://10.10.0.61:8080/solr/core1/replication&command=fetchindex
>
> # SOLRCONFIG.XML #
> <!-- Slave config -->
> <requestHandler name="/replication" class="solr.ReplicationHandler">
>    <lst name="slave">
>        <str name="masterUrl">
> http://127.0.0.1:8080/solr/${solr.core.name}/replication</str>
>     </lst>
> </requestHandler>
>
> # CATALINA.OUT #
> INFO: [blogs_2009_53_1] webapp=/solr path=/replication params={masterUrl=
> http://10.10.0.61:8080/solr/core1/replication&command=fetchindex} status=0
> QTime=0
> Feb 2, 2010 10:47:51 AM org.apache.solr.handler.SnapPuller <init>
> INFO:  No value set for 'pollInterval'. Timer Task not started.
> Feb 2, 2010 10:47:51 AM org.apache.solr.core.SolrCore execute
>
>
That is just an INFO level log message. Have you seen an exception saying
that pollInterval cannot be null? If yes, can you please paste the stack
trace.

--
Regards,
Shalin Shekhar Mangar.

Reply via email to