hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Burton" <bur...@spinn3r.com>
Subject Not performing work in the zookeeper even thread.
Date Sun, 04 Jan 2009 20:23:43 GMT
It looks like events from Zookeeper are dispatches from its event thread:
java.lang.Exception
        at foo.zookeeper.WatcherImpl.process(NodeWatcher.java:54)
        at
org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:349)

... it seems like a good idea to have implementations perform work in their
own thread to avoid zookeeper from hitting backlog if one client decides to
perform some complex operation in one event when there are hundreds of
events pending delivery.

Kevin

-- 
Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

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