zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <fpjunque...@yahoo.com.INVALID>
Subject RE: A little bug in org.apache.zookeeper.ZooKeeper (3.4.6)
Date Fri, 21 Nov 2014 08:17:04 GMT
Hi Robin,

Could you create a jira and report it there, please? If you could provide a patch, even better.


-----Original Message-----
From: "Robin" <rchzzjcn@163.com>
Sent: ‎21/‎11/‎2014 07:23
To: "user@zookeeper.apache.org" <user@zookeeper.apache.org>
Subject: A little bug in org.apache.zookeeper.ZooKeeper (3.4.6)

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
           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.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message