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 170181026F for ; Tue, 29 Oct 2013 03:50:27 +0000 (UTC) Received: (qmail 66893 invoked by uid 500); 29 Oct 2013 03:50:25 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 66626 invoked by uid 500); 29 Oct 2013 03:50:22 -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 66618 invoked by uid 99); 29 Oct 2013 03:50:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2013 03:50:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_TRUNCATED X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of comptechgeeky@gmail.com designates 209.85.212.179 as permitted sender) Received: from [209.85.212.179] (HELO mail-wi0-f179.google.com) (209.85.212.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2013 03:50:14 +0000 Received: by mail-wi0-f179.google.com with SMTP id hm4so4731720wib.12 for ; Mon, 28 Oct 2013 20:49:54 -0700 (PDT) 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=I91c5lGNMBxfNoM/FkksQJH2dpIVRoR0Rcm2z6EJVtA=; b=MQjfMuzTBQUq/gaMjkZWbknLRBokCN7dYhqLcHSimM6MhFX024+T9SsR9oF3hO4/Mq qGjMHmMwifoOiUeg2vS1yAmtygwckONfqe1y+Fx+Wrm99Jz0i3Aj6qBa6EFkZqdoeYI6 ncq1YD+ctVnLqlTmGwBvc6nmzbBKRgXdf4W17CZyMByv0nd+hxuVKd3bKq39XgVWlNmh AWnbJOXi74fuaXLyK2YnWjSughFKlbBAGMVUS7xUYdXriTbS7Zwn9m5mqrFQOaV2aJKf 3Ou5w2XBt+ezH55fKY3jZ95pIF8ljm5DRooeUkdoHgsmxt5qESVFv2HlTttNWuuEyHSe lbDw== X-Received: by 10.180.99.3 with SMTP id em3mr11835371wib.4.1383018594054; Mon, 28 Oct 2013 20:49:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.8.100 with HTTP; Mon, 28 Oct 2013 20:49:33 -0700 (PDT) From: Techy Teck Date: Mon, 28 Oct 2013 20:49:33 -0700 Message-ID: Subject: How to create parent znodes and its children znodes through zkconsole? To: user Content-Type: multipart/alternative; boundary=f46d043bdaf40439fb04e9d91c10 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043bdaf40439fb04e9d91c10 Content-Type: text/plain; charset=ISO-8859-1 I recently started working with Zookeeper so I am trying to clear my understanding on znodes and zookeeper as well.. I am trying to create znode architecture something like in my below image - I am wondering what does black color slash means here? It's the top znode in the Zookeeper? Whenever I start the zkConsole, and I do `ls /`, I always see [zookeeper] in the list of znodes.. So this black color slash is the zookeeper node here, which I always get when I do `ls /` ? Secondly, when we create znodes, how do I create persistent znodes? something like this should be fine for creating persistent nodes - create /te And here in my diagram I have children of `te` as `v1` and `colo`, so I will be creating znodes as `/te/v1` and `/te/colo`? If yes, then why not, we can create znodes as `/v1` and `/colo`, why we always prepend the parent names with child nodes here?sx Sorry if I am asking dumb question here.. I have already read zookeeper tutorial so I got some basic question on it.. Any help will be appreciated on this.. Thanks.. --f46d043bdaf40439fb04e9d91c10--