I've submitted a patch for this, currently slated to be fixed in 3.1.0
and the 3.0 branch (3.0.1 fix release)
Patrick Hunt wrote:
Thanks for the feedback Murali, I've entered a JIRA for the issue here:
Murali Vemulapati wrote:
I believe there is a typo in the barrier example given at:
With the following fix, the program runs as expected:
< this.name = new
> name = new
The first change assigns the name to the instance variable 'name' of
Barrier class (otherwise the 'name' instance variable will have a
value of 'null'
when calling zk.create to create the child node under the root barrier
The second change lets us run multiple processes on the same machine.