zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Crocombe <rcroc...@gmail.com>
Subject Re: interrupted exception
Date Thu, 29 Sep 2011 22:29:50 GMT
On Tue, Sep 27, 2011 at 10:25 AM, Tassos Souris <tassos_souris@yahoo.gr>wrote:

> when we get the interrupted exception is there any case where work has been
> done in the ZooKeeper service ? (as in the case when we create() and get a
> ConnectionLoss where we do not
> know whether the znode was created or not)...
>

For a ConnectionLossException: no, you will not know whether the create()
succeeded in creating a node or not.  There's a pretty good discussion here:
check in particular the "Recoverable errors" section.

http://wiki.apache.org/hadoop/ZooKeeper/ErrorHandling

-- 
Robert Crocombe

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