You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2016/05/28 18:13:12 UTC

[jira] [Commented] (SOLR-9170) Need detailed diagnostics for Zookeeper Connection Issues

    [ https://issues.apache.org/jira/browse/SOLR-9170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305528#comment-15305528 ] 

Shawn Heisey commented on SOLR-9170:
------------------------------------

Zookeeper is an entirely separate project where we have no control.  From their perspective, Solr is no different than any other zookeeper user, so we do not have any greater influence than anyone else.  It's true that they are both Apache projects, but that name is about the only thing they have in common.  SolrCloud talks to Zookeeper over a network connection, even if you use the embedded zookeeper server.

If you want to change what zookeeper logs, you will need to talk to their mailing list and/or raise an issue in the ZOOKEEPER jira project.  If what you want to see is Solr-specific, it is not likely that they will implement what you're after.  Zookeeper itself has no knowledge about the applications that use it.

As for Solr, which we CAN change, what specifically are you interested in seeing in the logs?


> Need detailed diagnostics for Zookeeper Connection Issues
> ---------------------------------------------------------
>
>                 Key: SOLR-9170
>                 URL: https://issues.apache.org/jira/browse/SOLR-9170
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 6.0.1
>         Environment: Window or Linux
>            Reporter: harcor
>            Priority: Critical
>
> When Solr disconnects from Zookeeper or Zookeeper disconnects from for some abnormal reason it is difficult to identify the root of the problem.    If we could have a mode that provide additional diagnostics both in the solr log and zookeeper log.
> IE:   Solr you could pull system stats about the current state of solr.  What is the load / memory.
> IE2:  For zookeeper,  if might show that the solr socket was abnormally closed but gives no further info.  See the example below.  
> 2016-05-27 00:59:53,357 [myid:1] - INFO  [CommitProcessor:1:ZooKeeperServer@617] - Established session 0x154a2e5fd9b0b2a with negotiated timeout 120000 for client /17.34.240.66:356202016-05-27 01:00:57,627 [myid:1] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exceptionEndOfStreamException: Unable to read additional data from client sessionid 0x154a2e5fd9b0b24, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) at java.lang.Thread.run(Thread.java:745)2016-05-27 01:00:57,627 [myid:1] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /17.34.240.66:35266 which had sessionid 0x154a2e5fd9b0b242016-05-27 01:01:00,873 [myid:1] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /17.34.240.66:35508 which had sessionid 0x154a2e5fd9b0b292016-05-27 01:03:06,425 [myid:1] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /17.34.240.66:35620 which had sessionid 0x154a2e5fd9b0b2a



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org