zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stevo Slavić <ssla...@gmail.com>
Subject Re: Node can be created and listed, but not updated or deleted
Date Wed, 27 Sep 2017 10:09:07 GMT
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 = 0x432e7
ctime = Fri Sep 22 14:51:22 CEST 2017
mZxid = 0x432e7
mtime = Fri Sep 22 14:51:22 CEST 2017
pZxid = 0x432e7
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 13
numChildren = 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 when
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 = 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 showing
> the problem?
>
> -Jordan
>
> > On Sep 25, 2017, at 3:53 AM, Stevo Slavić <sslavic@gmail.com> wrote:
> >
> > 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 the
> 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 known
> > issue?
> >
> > Kind regards,
> > Stevo Slavic.
>
>

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