Hi Jacob,

You don't need to call snapshoot on the master. That is only used to create
a backup of the index files.

You are calling snappull on the master. It is only applicable for the
slaves. You don't need to issue these calls yourself at all. The
ReplicationHandler is designed to take care of these.

The master is showing indexversion as 0 because you haven't called commit on
the master yet. Can you call commit and see if replication happens on the
slave?

On Fri, Jan 16, 2009 at 2:24 AM, Jacob Singh <jacobsi...@gmail.com> wrote:

> Hi Shalin,
>
> Thanks for responding!  This used to be a 1.3 index (could that be the
> issue?)
>
> curl '
> http://mydomain.com:8080/solr/065f079c24914a4103e2a57178164bbe//replication?command=indexversion
> '
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
> <lst name="responseHeader"><int name="status">0</int><int
> name="QTime">0</int></lst><long name="indexversion">0</long><long
> name="generation">0</long>
> </response>
>
> Best,
> Jacob
>
>
> On Jan 15, 2009 3:32pm, Shalin Shekhar Mangar <shalinman...@gmail.com>
> wrote:
> > What is the output of /replication?command=indexversion on the master?
> >
> >
> >
> > On Fri, Jan 16, 2009 at 1:27 AM, Jacob Singh jacobsi...@gmail.com>
> wrote:
> >
> >
> >
> > > Hi folks,
> >
> > >
> >
> > > Here's what I've got going:
> >
> > >
> >
> > > Master Server with the following config:
> >
> > >
> >
> > >
> >
> > >        commit
> >
> > >        schema.xml,stopwords.txt,elevate.xml
> >
> > >
> >
> > >
> >
> > >
> >
> > > Slave server with the following:
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > > http://mydomain:8080/solr/065f079c24914a4103e2a57178164bbe/replication
> >
> > >
> >
> > >        00:00:20
> >
> > >
> >
> > >
> >
> > >
> >
> > > I think there is a bug in the JSP for the admin pages (which I can
> >
> > > post a patch if desired) where the replication link goes to
> >
> > > replication/ and index.jsp doesn't get loaded automatically (at least
> >
> > > on my box).  I managed to get to the dashboard by adding index.jsp,
> >
> > > and it seems that while the slave is polling constantly, it never
> >
> > > receives an update.
> >
> > >
> >
> > > I tried the following:
> >
> > >
> >
> > > curl '
> >
> > >
> http://mydomain.com:8080/solr/065f079c24914a4103e2a57178164bbe/replication?command=snapshoot
> >
> > > '
> >
> > >
> >
> > >
> >
> > > 0
> > > name="QTime">1
> > >
> >
> > >
> name="exception">java.lang.NullPointerException:java.lang.NullPointerException
> >
> > >
> >
> > >
> >
> > > The index has about 400 docs in it, and old style replication used to
> >
> > > work just fine on it.
> >
> > >
> >
> > > When I run the snappull command from the slave:
> >
> > >
> >
> > > curl '
> >
> > >
> http://mydomain.com:8080/solr/065f079c24914a4103e2a57178164bbe/replication?command=snappull
> >
> > > '
> >
> > >
> >
> > >
> >
> > > 0
> > > name="QTime">1OK
> >
> > >
> >
> > >
> >
> > > The replication page also remains unchanged and there are no docs on
> the
> >
> > > slave.
> >
> > >
> >
> > > Any ideas?
> >
> > >
> >
> > > Thanks,
> >
> > > Jacob
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > > --
> >
> > >
> >
> > > +1 510 277-0891 (o)
> >
> > > +91 9999 33 7458 (m)
> >
> > >
> >
> > > web: http://pajamadesign.com
> >
> > >
> >
> > > Skype: pajamadesign
> >
> > > Yahoo: jacobsingh
> >
> > > AIM: jacobsingh
> >
> > > gTalk: jacobsi...@gmail.com
> >
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > Regards,
> >
> > Shalin Shekhar Mangar.
> >
>



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to