[
https://issues.apache.org/jira/browse/ZOOKEEPER-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192173#comment-16192173
]
Hadoop QA commented on ZOOKEEPER-2727:
--------------------------------------
+1 overall. GitHub Pull Request Build
+1 @author. The patch does not contain any @author tags.
+0 tests included. The patch appears to be a documentation patch that
doesn't require tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac
compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 3.0.1)
warnings.
+1 release audit. The applied patch does not increase the total number of
release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1082//testReport/
Findbugs warnings:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1082//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1082//console
This message is automatically generated.
> WARN and stacktrace for normally closed socket
> ----------------------------------------------
>
> Key: ZOOKEEPER-2727
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2727
> Project: ZooKeeper
> Issue Type: Bug
> Affects Versions: 3.4.9
> Reporter: Andrey
> Assignee: Mark Fenes
>
> Steps to reproduce:
> * setup zookeeper
> * setup TCP load balancer. This balancer should check zookeeper clientPort
> liveness(healthcheck) by opening and closing TCP connection to clientPort.
> See
> https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
> or
> https://www.digitalocean.com/community/tutorials/how-to-create-your-first-digitalocean-load-balancer#step-2-—-creating-the-load-balancer
> for details.
> * in logs:
> {code}
> 2017-03-17 15:41:19,843 [myid:1] - WARN
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of
> stream exception
> EndOfStreamException: Unable to read additional data from client sessionid
> 0x0, likely client has closed socket
> at
> org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
> at
> org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> Issue is here:
> https://github.com/apache/zookeeper/blob/5fe68506f217246c7ebd96803f9c78e13ec2f11a/src/java/main/org/apache/zookeeper/server/NIOServerCnxn.java#L322
> -1 is a normal socket termination.
> Expected:
> * reduce log level to INFO
> * do not log stacktrace.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)