Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A10569E5D for ; Fri, 9 Mar 2012 10:48:03 +0000 (UTC) Received: (qmail 93808 invoked by uid 500); 9 Mar 2012 10:48:03 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 93700 invoked by uid 500); 9 Mar 2012 10:48:02 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 93582 invoked by uid 99); 9 Mar 2012 10:48:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 10:48:02 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dapurv5@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-tul01m020-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 10:47:56 +0000 Received: by obbwd1 with SMTP id wd1so1957461obb.15 for ; Fri, 09 Mar 2012 02:47:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=o5Sq22pw8mKZf5ca2q4ibVU1sZsk1QxsJxKyIIdMyww=; b=QkZpCuGIdfle1zXeoC7J4BrZUDE7cS1RYhzxBOvd7VvvrD/zqlN8v4jxcgH36IuupJ ujEQEPXGT56GIObgsdjlntOWICMIM/RkNkIziJX4qIS7xAMexXjfaeYlqdF/5gyVcSh1 Zo1nb07xVUqkEv4F9A/ThhEgqF0fvKh647JRX5bnET2OA9to5Y0y5ONFx4DARhswTznw h7w+S7hrAZLtzQeqepmGk8x9sI/0Kk1eB058GfYsbXPMB7/ywtxFC1BXGx8TzL6lEgfG qrpOs9yK1QlcToIxBFHWTTm/YRjGZndxh2IYlys3STszx557PSIoNlAhzQbDrC+dPSvU A+pQ== Received: by 10.60.7.7 with SMTP id f7mr690137oea.19.1331290055211; Fri, 09 Mar 2012 02:47:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.69.233 with HTTP; Fri, 9 Mar 2012 02:47:15 -0800 (PST) From: Apurv Verma Date: Fri, 9 Mar 2012 16:17:15 +0530 Message-ID: Subject: Barrier Example With Zookeeper-3.3.3 To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1f2fcd57a1a04bacd1ef3 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1f2fcd57a1a04bacd1ef3 Content-Type: text/plain; charset=ISO-8859-1 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 --e89a8fb1f2fcd57a1a04bacd1ef3--