Vladislav Pernin created AMBARI-7215:
----------------------------------------

             Summary: Nagios supervision with check_tcp is responsible for 
EndOfStreamException in Zookeeper
                 Key: AMBARI-7215
                 URL: https://issues.apache.org/jira/browse/AMBARI-7215
             Project: Ambari
          Issue Type: Improvement
            Reporter: Vladislav Pernin


Nagios use the script /usr/lib64/nagios/plugins/check_tcp to supervise 
Zookeeper on 2181 port.

This causes the following exception in zookeeper logs :
[2014-09-09 
08:58:40,042][ZOOKEEPER][WARN][org.apache.zookeeper.server.NIOServerCnxn][NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181][NIOServerCnxn:doIO]
 caught end of stream exceptionEndOfStreamException: Unable to read additional 
data from client sessionid 0x0, likely client has closed socket
        at 
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220)
        at 
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
        at java.lang.Thread.run(Thread.java:745)

That is only a WARN, but it pollute logs.




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

Reply via email to