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 william pink <wi...@gmail.com> on 2009/08/13 18:28:43 UTC

Issue with Collection & Distribution

Hello,

I am having a few problems with the snapinstaller/commit on the slave, I
have a pull_from_master script which is the following

#!/bin/bash
cd /opt/solr/solr/bin -v
./snappuller -v -P 18983
./snapinstaller -v


I have been executing snapshooter manually on the master then running the
above script to test but I am getting the following

2009/08/13 17:18:16 notifing Solr to open a new Searcher
2009/08/13 17:18:16 failed to connect to Solr server
2009/08/13 17:18:17 snapshot installed but Solr server has not open a new
Searcher

Commit logs

2009/08/13 17:18:16 started by user
2009/08/13 17:18:16 command: /opt/solr/solr/bin/commit
2009/08/13 17:18:16 commit request to Solr at
http://slave-server:8983/solr/update failed:
2009/08/13 17:18:16 <?xml version="1.0" encoding="UTF-8"?> <response> <lst
name="responseHeader"><int name="status">0</int><int
name="QTime">28</int></lst> </response>
2009/08/13 17:18:16 failed (elapsed time: 0 sec)

Snappinstaller logs

2009/08/13 17:18:16 started by user
2009/08/13 17:18:16 command: ./snapinstaller -v
2009/08/13 17:18:16 installing snapshot
/opt/solr/solr/data/snapshot.20090813171835
2009/08/13 17:18:16 notifing Solr to open a new Searcher
2009/08/13 17:18:16 failed to connect to Solr server
2009/08/13 17:18:17 snapshot installed but Solr server has not open a new
Searcher
2009/08/13 17:18:17 failed (elapsed time: 1 sec)


Is there a way of telling why it is failing?

Many Thanks,
Will

Re: Issue with Collection & Distribution

Posted by william pink <wi...@gmail.com>.
Many thanks Bill

Yeah I did take a look at the features of 1.4 and they do look fantastic
very much looking forward to them

On Tue, Aug 18, 2009 at 1:42 PM, Bill Au <bi...@gmail.com> wrote:

> I say it is worth upgrading since 1.2 is old.  1.4 is almost ready to be
> released.  So you may want to wait a little while longer.  There are many
> nice new features in 1.4.  There are performance improvement too.  In the
> mean time, you can just get the latest version of the scripts from SVN.
> Those should work as is.
>
> Bill
>
> On Tue, Aug 18, 2009 at 6:54 AM, william pink <wi...@gmail.com> wrote:
>
> > Hi,
> >
> > Sorry for the delayed response didn't even realise I had got a reply,
> those
> > logs are from the slave and the both version of Solr are the same
> >
> > Solr Implementation Version: 1.2.0 - Yonik - 2007-06-02 17:35:12
> >
> > It maybe worth upgrading them?
> >
> > Thank you for the assistance,
> > Will
> >
> > On Thu, Aug 13, 2009 at 6:28 PM, Bill Au <bi...@gmail.com> wrote:
> >
> > > Have you check the solr log on the slave to see if there was any commit
> > > done?  It looks to me you are still using an older version of the
> commit
> > > script that is not compatible with the newer Solr response format.  If
> > > thats' the case, the commit was actually performed.  It is just that
> the
> > > script failed to handle the Solr response.  See
> > >
> > > https://issues.apache.org/jira/browse/SOLR-463
> > > https://issues.apache.org/jira/browse/SOLR-426
> > >
> > > Bill
> > >
> > > On Thu, Aug 13, 2009 at 12:28 PM, william pink <wi...@gmail.com>
> > > wrote:
> > >
> > > > Hello,
> > > >
> > > > I am having a few problems with the snapinstaller/commit on the
> slave,
> > I
> > > > have a pull_from_master script which is the following
> > > >
> > > > #!/bin/bash
> > > > cd /opt/solr/solr/bin -v
> > > > ./snappuller -v -P 18983
> > > > ./snapinstaller -v
> > > >
> > > >
> > > > I have been executing snapshooter manually on the master then running
> > the
> > > > above script to test but I am getting the following
> > > >
> > > > 2009/08/13 17:18:16 notifing Solr to open a new Searcher
> > > > 2009/08/13 17:18:16 failed to connect to Solr server
> > > > 2009/08/13 17:18:17 snapshot installed but Solr server has not open a
> > new
> > > > Searcher
> > > >
> > > > Commit logs
> > > >
> > > > 2009/08/13 17:18:16 started by user
> > > > 2009/08/13 17:18:16 command: /opt/solr/solr/bin/commit
> > > > 2009/08/13 17:18:16 commit request to Solr at
> > > > http://slave-server:8983/solr/update failed:
> > > > 2009/08/13 17:18:16 <?xml version="1.0" encoding="UTF-8"?> <response>
> > > <lst
> > > > name="responseHeader"><int name="status">0</int><int
> > > > name="QTime">28</int></lst> </response>
> > > > 2009/08/13 17:18:16 failed (elapsed time: 0 sec)
> > > >
> > > > Snappinstaller logs
> > > >
> > > > 2009/08/13 17:18:16 started by user
> > > > 2009/08/13 17:18:16 command: ./snapinstaller -v
> > > > 2009/08/13 17:18:16 installing snapshot
> > > > /opt/solr/solr/data/snapshot.20090813171835
> > > > 2009/08/13 17:18:16 notifing Solr to open a new Searcher
> > > > 2009/08/13 17:18:16 failed to connect to Solr server
> > > > 2009/08/13 17:18:17 snapshot installed but Solr server has not open a
> > new
> > > > Searcher
> > > > 2009/08/13 17:18:17 failed (elapsed time: 1 sec)
> > > >
> > > >
> > > > Is there a way of telling why it is failing?
> > > >
> > > > Many Thanks,
> > > > Will
> > > >
> > >
> >
>

Re: Issue with Collection & Distribution

Posted by Bill Au <bi...@gmail.com>.
I say it is worth upgrading since 1.2 is old.  1.4 is almost ready to be
released.  So you may want to wait a little while longer.  There are many
nice new features in 1.4.  There are performance improvement too.  In the
mean time, you can just get the latest version of the scripts from SVN.
Those should work as is.

Bill

On Tue, Aug 18, 2009 at 6:54 AM, william pink <wi...@gmail.com> wrote:

> Hi,
>
> Sorry for the delayed response didn't even realise I had got a reply, those
> logs are from the slave and the both version of Solr are the same
>
> Solr Implementation Version: 1.2.0 - Yonik - 2007-06-02 17:35:12
>
> It maybe worth upgrading them?
>
> Thank you for the assistance,
> Will
>
> On Thu, Aug 13, 2009 at 6:28 PM, Bill Au <bi...@gmail.com> wrote:
>
> > Have you check the solr log on the slave to see if there was any commit
> > done?  It looks to me you are still using an older version of the commit
> > script that is not compatible with the newer Solr response format.  If
> > thats' the case, the commit was actually performed.  It is just that the
> > script failed to handle the Solr response.  See
> >
> > https://issues.apache.org/jira/browse/SOLR-463
> > https://issues.apache.org/jira/browse/SOLR-426
> >
> > Bill
> >
> > On Thu, Aug 13, 2009 at 12:28 PM, william pink <wi...@gmail.com>
> > wrote:
> >
> > > Hello,
> > >
> > > I am having a few problems with the snapinstaller/commit on the slave,
> I
> > > have a pull_from_master script which is the following
> > >
> > > #!/bin/bash
> > > cd /opt/solr/solr/bin -v
> > > ./snappuller -v -P 18983
> > > ./snapinstaller -v
> > >
> > >
> > > I have been executing snapshooter manually on the master then running
> the
> > > above script to test but I am getting the following
> > >
> > > 2009/08/13 17:18:16 notifing Solr to open a new Searcher
> > > 2009/08/13 17:18:16 failed to connect to Solr server
> > > 2009/08/13 17:18:17 snapshot installed but Solr server has not open a
> new
> > > Searcher
> > >
> > > Commit logs
> > >
> > > 2009/08/13 17:18:16 started by user
> > > 2009/08/13 17:18:16 command: /opt/solr/solr/bin/commit
> > > 2009/08/13 17:18:16 commit request to Solr at
> > > http://slave-server:8983/solr/update failed:
> > > 2009/08/13 17:18:16 <?xml version="1.0" encoding="UTF-8"?> <response>
> > <lst
> > > name="responseHeader"><int name="status">0</int><int
> > > name="QTime">28</int></lst> </response>
> > > 2009/08/13 17:18:16 failed (elapsed time: 0 sec)
> > >
> > > Snappinstaller logs
> > >
> > > 2009/08/13 17:18:16 started by user
> > > 2009/08/13 17:18:16 command: ./snapinstaller -v
> > > 2009/08/13 17:18:16 installing snapshot
> > > /opt/solr/solr/data/snapshot.20090813171835
> > > 2009/08/13 17:18:16 notifing Solr to open a new Searcher
> > > 2009/08/13 17:18:16 failed to connect to Solr server
> > > 2009/08/13 17:18:17 snapshot installed but Solr server has not open a
> new
> > > Searcher
> > > 2009/08/13 17:18:17 failed (elapsed time: 1 sec)
> > >
> > >
> > > Is there a way of telling why it is failing?
> > >
> > > Many Thanks,
> > > Will
> > >
> >
>

Re: Issue with Collection & Distribution

Posted by william pink <wi...@gmail.com>.
Hi,

Sorry for the delayed response didn't even realise I had got a reply, those
logs are from the slave and the both version of Solr are the same

Solr Implementation Version: 1.2.0 - Yonik - 2007-06-02 17:35:12

It maybe worth upgrading them?

Thank you for the assistance,
Will

On Thu, Aug 13, 2009 at 6:28 PM, Bill Au <bi...@gmail.com> wrote:

> Have you check the solr log on the slave to see if there was any commit
> done?  It looks to me you are still using an older version of the commit
> script that is not compatible with the newer Solr response format.  If
> thats' the case, the commit was actually performed.  It is just that the
> script failed to handle the Solr response.  See
>
> https://issues.apache.org/jira/browse/SOLR-463
> https://issues.apache.org/jira/browse/SOLR-426
>
> Bill
>
> On Thu, Aug 13, 2009 at 12:28 PM, william pink <wi...@gmail.com>
> wrote:
>
> > Hello,
> >
> > I am having a few problems with the snapinstaller/commit on the slave, I
> > have a pull_from_master script which is the following
> >
> > #!/bin/bash
> > cd /opt/solr/solr/bin -v
> > ./snappuller -v -P 18983
> > ./snapinstaller -v
> >
> >
> > I have been executing snapshooter manually on the master then running the
> > above script to test but I am getting the following
> >
> > 2009/08/13 17:18:16 notifing Solr to open a new Searcher
> > 2009/08/13 17:18:16 failed to connect to Solr server
> > 2009/08/13 17:18:17 snapshot installed but Solr server has not open a new
> > Searcher
> >
> > Commit logs
> >
> > 2009/08/13 17:18:16 started by user
> > 2009/08/13 17:18:16 command: /opt/solr/solr/bin/commit
> > 2009/08/13 17:18:16 commit request to Solr at
> > http://slave-server:8983/solr/update failed:
> > 2009/08/13 17:18:16 <?xml version="1.0" encoding="UTF-8"?> <response>
> <lst
> > name="responseHeader"><int name="status">0</int><int
> > name="QTime">28</int></lst> </response>
> > 2009/08/13 17:18:16 failed (elapsed time: 0 sec)
> >
> > Snappinstaller logs
> >
> > 2009/08/13 17:18:16 started by user
> > 2009/08/13 17:18:16 command: ./snapinstaller -v
> > 2009/08/13 17:18:16 installing snapshot
> > /opt/solr/solr/data/snapshot.20090813171835
> > 2009/08/13 17:18:16 notifing Solr to open a new Searcher
> > 2009/08/13 17:18:16 failed to connect to Solr server
> > 2009/08/13 17:18:17 snapshot installed but Solr server has not open a new
> > Searcher
> > 2009/08/13 17:18:17 failed (elapsed time: 1 sec)
> >
> >
> > Is there a way of telling why it is failing?
> >
> > Many Thanks,
> > Will
> >
>

Re: Issue with Collection & Distribution

Posted by Bill Au <bi...@gmail.com>.
Have you check the solr log on the slave to see if there was any commit
done?  It looks to me you are still using an older version of the commit
script that is not compatible with the newer Solr response format.  If
thats' the case, the commit was actually performed.  It is just that the
script failed to handle the Solr response.  See

https://issues.apache.org/jira/browse/SOLR-463
https://issues.apache.org/jira/browse/SOLR-426

Bill

On Thu, Aug 13, 2009 at 12:28 PM, william pink <wi...@gmail.com> wrote:

> Hello,
>
> I am having a few problems with the snapinstaller/commit on the slave, I
> have a pull_from_master script which is the following
>
> #!/bin/bash
> cd /opt/solr/solr/bin -v
> ./snappuller -v -P 18983
> ./snapinstaller -v
>
>
> I have been executing snapshooter manually on the master then running the
> above script to test but I am getting the following
>
> 2009/08/13 17:18:16 notifing Solr to open a new Searcher
> 2009/08/13 17:18:16 failed to connect to Solr server
> 2009/08/13 17:18:17 snapshot installed but Solr server has not open a new
> Searcher
>
> Commit logs
>
> 2009/08/13 17:18:16 started by user
> 2009/08/13 17:18:16 command: /opt/solr/solr/bin/commit
> 2009/08/13 17:18:16 commit request to Solr at
> http://slave-server:8983/solr/update failed:
> 2009/08/13 17:18:16 <?xml version="1.0" encoding="UTF-8"?> <response> <lst
> name="responseHeader"><int name="status">0</int><int
> name="QTime">28</int></lst> </response>
> 2009/08/13 17:18:16 failed (elapsed time: 0 sec)
>
> Snappinstaller logs
>
> 2009/08/13 17:18:16 started by user
> 2009/08/13 17:18:16 command: ./snapinstaller -v
> 2009/08/13 17:18:16 installing snapshot
> /opt/solr/solr/data/snapshot.20090813171835
> 2009/08/13 17:18:16 notifing Solr to open a new Searcher
> 2009/08/13 17:18:16 failed to connect to Solr server
> 2009/08/13 17:18:17 snapshot installed but Solr server has not open a new
> Searcher
> 2009/08/13 17:18:17 failed (elapsed time: 1 sec)
>
>
> Is there a way of telling why it is failing?
>
> Many Thanks,
> Will
>