curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <>
Subject [jira] [Commented] (CURATOR-280) LeaderLatch doesn't work when using a zookeeper chroot
Date Tue, 10 Nov 2015 16:41:10 GMT


Mike Drob commented on CURATOR-280:

I suspect that it will work with an existing chroot node, please try that as a workaround
so that your project isn't stuck because of us.

Other projects have reported similar errors when using ZK connect strings with a non-existing
chroot - a couple examples would be KAFKA-2237 and SOLR-7642. This leads me to believe that
none of our recipes will work, providing the same error message, aside from the LeaderLatch
fail we've already seen. Will need to think about the proper solution a bit here in terms
of user expectations and backwards compatibility.

> LeaderLatch doesn't work when using a zookeeper chroot
> ------------------------------------------------------
>                 Key: CURATOR-280
>                 URL:
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.9.0, 2.9.1
>            Reporter: Vincent Bernat
> Hey!
> When using a ZK connection-string with a chroot (for example {{localhost:2181/chroot}}),
the leader election by LeaderLatch doesn't work. This may be similar to CURATOR-270. If I
query {{.getParticipants}}, I get:
> {code}
>       Actual: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode =
NoNode for /test4
>               org.apache.zookeeper.KeeperException.create(
>               org.apache.zookeeper.KeeperException.create(
>               org.apache.zookeeper.ZooKeeper.getChildren(
>               org.apache.curator.framework.imps.GetChildrenBuilderImpl$
>               org.apache.curator.framework.imps.GetChildrenBuilderImpl$
>               org.apache.curator.RetryLoop.callWithRetry(
>               org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(
>               org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(
>               org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(
> {code}

This message was sent by Atlassian JIRA

View raw message