zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apurv Verma <dapu...@gmail.com>
Subject Re: Barrier Example With Zookeeper-3.3.3
Date Fri, 09 Mar 2012 11:03:10 GMT
Hi,
 I was able to get it work by replacing the zero with CreateMode.PERSISTENT.

--
thanks and regards,

Apurv Verma
B. Tech.(CSE)
IIT- Ropar






On Fri, Mar 9, 2012 at 4:17 PM, Apurv Verma <dapurv5@gmail.com> wrote:

> Hii,
>  In the barrier example given on the page
> http://wiki.apache.org/hadoop/ZooKeeper/Tutorial The following is used.
>
>
>  zk.create(root, new byte[0], Ids.OPEN_ACL_UNSAFE, 0);
>
> It appears that in zookeeper-3.3.3 this signature has been changed.
>  Should I write it as
>
> zk.create(root, new byte[0], Ids.OPEN_ACL_UNSAFE, null, null, 0);
>
> with the 3.3.3 version.
>
> --
> thanks and regards,
>
> Apurv Verma
> B. Tech.(CSE)
> IIT- Ropar
>
>
>
>
>

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