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 "Trym R. Møller" <tr...@sigmat.dk> on 2012/07/25 16:02:48 UTC

Solr zk client stopping sending data

Hi

Running a Solr cloud cluster after a while a Solr looses its connection 
to its ZooKeeper cluster as seen in the ZooKeeper log below. The Solr 
reconnects to another ZooKeeper in the ZK cluster and the only thing 
seen in the Solr log (running warning level) is a newly programmatic 
created collection stopping being recovered.

Any ideas about how I can get information about what causes the Solr ZK 
client to "stop" sending data?

Thanks in advance.

Best regards Trym

ZK 1 Log
     2012-08-01 00:16:12,444 - WARN 
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@634] - 
EndOfStreamException: Unable to read additional data from client 
sessionid 0x138d6e86e790003, likely client has closed socket
     2012-08-01 00:16:12,444 - INFO 
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1435] - Closed 
socket connection for client /solr-ip:42379 which had sessionid 
0x138d6e86e790003

ZK 2 log
     2012-08-01 00:16:13,464 - INFO 
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - 
Accepted socket connection from /solr-ip:42820
     2012-08-01 00:16:15,111 - INFO 
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@770] - Client 
attempting to renew session 0x138d6e86e790003 at /solr-ip:42820
     2012-08-01 00:16:15,112 - INFO 
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1580] - 
Established session 0x138d6e86e790003 with negotiated timeout 15000 for 
client /solr-ip:42820

Solr log
Aug 1, 2012 12:16:17 AM org.apache.solr.cloud.RecoveryStrategy close


Re: Solr zk client stopping sending data

Posted by Mark Miller <ma...@gmail.com>.
Hard to determine from this info. With only WARN logging, you don't see a
lot of what is happening. Around what is the date of this build?

Close can actually be called quite often - it's used to cancel recoveries,
but new recovery threads can easily start up. What you should see if
Recovery truly gives up is: "Recovery failed - I give up."

On Wed, Jul 25, 2012 at 10:02 AM, "Trym R. Møller" <tr...@sigmat.dk> wrote:

> Hi
>
> Running a Solr cloud cluster after a while a Solr looses its connection to
> its ZooKeeper cluster as seen in the ZooKeeper log below. The Solr
> reconnects to another ZooKeeper in the ZK cluster and the only thing seen
> in the Solr log (running warning level) is a newly programmatic created
> collection stopping being recovered.
>
> Any ideas about how I can get information about what causes the Solr ZK
> client to "stop" sending data?
>
> Thanks in advance.
>
> Best regards Trym
>
> ZK 1 Log
>     2012-08-01 00:16:12,444 - WARN [NIOServerCxn.Factory:0.0.0.0/**
> 0.0.0.0:2181:NIOServerCnxn@634<ht...@634>
> **] - EndOfStreamException: Unable to read additional data from client
> sessionid 0x138d6e86e790003, likely client has closed socket
>     2012-08-01 00:16:12,444 - INFO [NIOServerCxn.Factory:0.0.0.0/**
> 0.0.0.0:2181:NIOServerCnxn@**1435<ht...@1435>]
> - Closed socket connection for client /solr-ip:42379 which had sessionid
> 0x138d6e86e790003
>
> ZK 2 log
>     2012-08-01 00:16:13,464 - INFO [NIOServerCxn.Factory:0.0.0.0/**
> 0.0.0.0:2181:NIOServerCnxn$**Factory@251<ht...@251>]
> - Accepted socket connection from /solr-ip:42820
>     2012-08-01 00:16:15,111 - INFO [NIOServerCxn.Factory:0.0.0.0/**
> 0.0.0.0:2181:NIOServerCnxn@770<ht...@770>
> **] - Client attempting to renew session 0x138d6e86e790003 at
> /solr-ip:42820
>     2012-08-01 00:16:15,112 - INFO [NIOServerCxn.Factory:0.0.0.0/**
> 0.0.0.0:2181:NIOServerCnxn@**1580<ht...@1580>]
> - Established session 0x138d6e86e790003 with negotiated timeout 15000 for
> client /solr-ip:42820
>
> Solr log
> Aug 1, 2012 12:16:17 AM org.apache.solr.cloud.**RecoveryStrategy close
>
>


-- 
- Mark

http://www.lucidimagination.com