[
https://issues.apache.org/jira/browse/ZOOKEEPER-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248915#comment-14248915
]
Hadoop QA commented on ZOOKEEPER-2086:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12687551/ZOOKEEPER-2086.patch
against trunk revision 1642444.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified
tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
+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 2.0.3)
warnings.
+1 release audit. The applied patch does not increase the total number of
release audit warnings.
-1 core tests. The patch failed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2462//testReport/
Findbugs warnings:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2462//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2462//console
This message is automatically generated.
> Unnecessary error log when defaultWatcher is not set for ZooKeeper client
> --------------------------------------------------------------------------
>
> Key: ZOOKEEPER-2086
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2086
> Project: ZooKeeper
> Issue Type: Bug
> Components: java client
> Affects Versions: 3.4.6
> Reporter: Cheng
> Assignee: Saurabh Chhajed
> Priority: Minor
> Attachments: ZOOKEEPER-2086.patch
>
>
> In org.apache.zookeeper.ZooKeeper.ZKWatchManager#materialize(), even if the
> defaultWatcher is null, it is still be added into the Set and returned. This
> would cause a lot of annoying error log at
> org.apache.zookeeper.ClientCnxn.EventThread#processEvent as below:
> 2014-11-21 15:21:23,279 - ERROR -
> [main-EventThread:ClientCnxn$EventThread@524] - Error while calling watcher
> java.lang.NullPointerException
> at
> org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:522)
> at
> org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)
> It can be simply fixed by having a null check in ZKWatchManager.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)