Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7B2B0200D0B for ; Wed, 27 Sep 2017 20:30:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 79AAA1609CA; Wed, 27 Sep 2017 18:30:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9899C1609C1 for ; Wed, 27 Sep 2017 20:30:24 +0200 (CEST) Received: (qmail 40146 invoked by uid 500); 27 Sep 2017 18:30:23 -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 40135 invoked by uid 99); 27 Sep 2017 18:30:23 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2017 18:30:23 +0000 Received: from mail-wr0-f180.google.com (mail-wr0-f180.google.com [209.85.128.180]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 3DE9A1A0185 for ; Wed, 27 Sep 2017 18:30:21 +0000 (UTC) Received: by mail-wr0-f180.google.com with SMTP id a43so18037754wrc.0 for ; Wed, 27 Sep 2017 11:30:21 -0700 (PDT) X-Gm-Message-State: AHPjjUhQ4kXk0GiofC0WfS8dUkmuP6Ur6BnaZfaQaa1b1T+zRhL5hkh2 HAdwAK+3w/wXBrumS5eNBcx53rxVj8DwxicyGvs= X-Google-Smtp-Source: AOwi7QD3XzgX5CYbAGOnYhRz/hxS/zR3bpi2Y+fAi+9xsNhBudVd/E1g08tUAPzh9d/bo/m4wa4C3EbO6R/Mh7kjsc0= X-Received: by 10.223.148.165 with SMTP id 34mr2129557wrr.20.1506537020630; Wed, 27 Sep 2017 11:30:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.6.203 with HTTP; Wed, 27 Sep 2017 11:29:40 -0700 (PDT) In-Reply-To: References: <16A65B7F-C76F-4521-8064-66762E1EEFDA@jordanzimmerman.com> From: Patrick Hunt Date: Wed, 27 Sep 2017 11:29:40 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Node can be created and listed, but not updated or deleted To: UserZooKeeper Content-Type: multipart/alternative; boundary="94eb2c0d9e18f4aff1055a2ffbe4" archived-at: Wed, 27 Sep 2017 18:30:25 -0000 --94eb2c0d9e18f4aff1055a2ffbe4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I spun up a 3.4.10 zk server (standalone) and tried to reproduce the issue - the delete works fine for me. Perhaps the length is a red herring (or I had some other diff I didn't notice) and it's something else? zk: localhost:2181(CONNECTED) 12] ls /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww.ccccccccc.hhhhh-hhhhhhh$q= qq.qqqqqqqq-qqqqqqQqqqqqq2 [wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkkk_nnnnnnn_nnn_mmmmmmm_mmmm= m$887960620903477545] [zk: localhost:2181(CONNECTED) 13] ls /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww.ccccccccc.hhhhh-hhhhhhh$q= qq.qqqqqqqq-qqqqqqQqqqqqq2/wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkk= k_nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 [] [zk: localhost:2181(CONNECTED) 14] get /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww.ccccccccc.hhhhh-hhhhhhh$q= qq.qqqqqqqq-qqqqqqQqqqqqq2/wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkk= k_nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 foo cZxid =3D 0x7 ctime =3D Wed Sep 27 11:24:56 PDT 2017 mZxid =3D 0x7 mtime =3D Wed Sep 27 11:24:56 PDT 2017 pZxid =3D 0x7 cversion =3D 0 dataVersion =3D 0 aclVersion =3D 0 ephemeralOwner =3D 0x0 dataLength =3D 3 numChildren =3D 0 [zk: localhost:2181(CONNECTED) 15] delete /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww.ccccccccc.hhhhh-hhhhhhh$q= qq.qqqqqqqq-qqqqqqQqqqqqq2/wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkk= k_nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 [zk: localhost:2181(CONNECTED) 16] ls /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww.ccccccccc.hhhhh-hhhhhhh$q= qq.qqqqqqqq-qqqqqqQqqqqqq2/wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkk= k_nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 Node does not exist: /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww.ccccccccc.hhhhh-hhhhhhh$q= qq.qqqqqqqq-qqqqqqQqqqqqq2/wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkk= k_nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 [zk: localhost:2181(CONNECTED) 17] get /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww.ccccccccc.hhhhh-hhhhhhh$q= qq.qqqqqqqq-qqqqqqQqqqqqq2/wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkk= k_nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 Node does not exist: /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww.ccccccccc.hhhhh-hhhhhhh$q= qq.qqqqqqqq-qqqqqqQqqqqqq2/wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkk= k_nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 On Wed, Sep 27, 2017 at 3:09 AM, Stevo Slavi=C4=87 wrot= e: > In ZK shell: > > ls > /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww. > ccccccccc.hhhhh-hhhhhhh$qqq.qqqqqqqq-qqqqqqQqqqqqq2 > [wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkkk_ > nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545] > > get > /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww. > ccccccccc.hhhhh-hhhhhhh$qqq.qqqqqqqq-qqqqqqQqqqqqq2/ > wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkkk_ > nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 > BBBB_BBBBBBBB > cZxid =3D 0x432e7 > ctime =3D Fri Sep 22 14:51:22 CEST 2017 > mZxid =3D 0x432e7 > mtime =3D Fri Sep 22 14:51:22 CEST 2017 > pZxid =3D 0x432e7 > cversion =3D 0 > dataVersion =3D 0 > aclVersion =3D 0 > ephemeralOwner =3D 0x0 > dataLength =3D 13 > numChildren =3D 0 > > delete > /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww. > ccccccccc.hhhhh-hhhhhhh$qqq.qqqqqqqq-qqqqqqQqqqqqq2/ > wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkkk_ > nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 > Node does not exist: > /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww. > ccccccccc.hhhhh-hhhhhhh$qqq.qqqqqqqq-qqqqqqQqqqqqq2/ > wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkkk_ > nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 > > > From one of ZK server logs: > 2017-09-27 11:07:19,654 [myid:3] - INFO [ProcessThread(sid:3 > cport:-1)::PrepRequestProcessor@648] - Got user-level KeeperException whe= n > processing sessionid:0x15ec269280a000a type:delete cxid:0x73e > zxid:0xc00000017 txntype:-1 reqpath:n/a Error > Path:/dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww.ccccccccc.hhhhh- > hhhhhhh$qqq.qqqqqqqq-qqqqqqQqqqqqq2/wwwwww-dddddd- > kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkkk_nnnnnnn_nnn_mmmmmmm_ > mmmmm$887960620903477545 > Error:KeeperErrorCode =3D NoNode for > /dddddd/rrrrrrrrr-rrrrrrrr/mmmmmmm/ttttttt/wwwwww. > ccccccccc.hhhhh-hhhhhhh$qqq.qqqqqqqq-qqqqqqQqqqqqq2/ > wwwwww-dddddd-kkkkkkkkk-0_wwwwww-dddddd-kkkkkkkkk_ > nnnnnnn_nnn_mmmmmmm_mmmmm$887960620903477545 > > On Mon, Sep 25, 2017 at 4:36 PM, Jordan Zimmerman < > jordan@jordanzimmerman.com> wrote: > > > There's no internal limit on path lengths. Can you post a sample showin= g > > the problem? > > > > -Jordan > > > > > On Sep 25, 2017, at 3:53 AM, Stevo Slavi=C4=87 wr= ote: > > > > > > Hello Apache ZooKeeper community, > > > > > > While on 3.4.10 I just experienced odd issue with a node that has > > > relatively lengthy path. It was created and had data stored. In the > > shell I > > > could list it and retrieve the data. Problem is that the attempt from > the > > > app to update the data as well as attempt from the shell to delete th= e > > node > > > would fail with NoNode. > > > > > > Path length (with separators) is 190 characters, and longest path > > segment / > > > node name is 95 characters long. > > > > > > After shortening some of the prefixes for few path segments, keeping > > > everything else same, it started working properly. > > > > > > Is there a limit on max path length and max path segment / node name > > length? > > > If so, why is creation passing and update/deletion fails? Is it a kno= wn > > > issue? > > > > > > Kind regards, > > > Stevo Slavic. > > > > > --94eb2c0d9e18f4aff1055a2ffbe4--