curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <>
Subject Re: NodeExistsException with Shared Value recipe in Curator
Date Mon, 31 Aug 2015 19:08:34 GMT
Can you write a test that shows this? It doesn’t seem possible given your description. Have
a look at SharedValue.start(). Note that it catches NodeExistsException.


On August 31, 2015 at 12:06:30 PM, Daniel Kashtan ( wrote:

I inherited some Curator code that creates a Shared Value recipe in two different parts of
my code, using the same path. Once the second Shared Value has .start() called, the NodeExistsException
from the Zookeeper server is created in the logs. 

I am not sure how to handle this issue. Can I retrieve the Shared Value instance from Curator
instead of trying to create a second new instance of the Shared Value on the same path?

View raw message