zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: dataLength=0
Date Sat, 26 Mar 2016 19:19:37 GMT
I don't believe it's possible in the command line shell to create a
znode w/o some data because of the way the shell works (we should
probably fix that) however it is possible to do so using the API (e.g.
java) directly.

Patrick

On Fri, Mar 25, 2016 at 1:59 PM, s influxdb <elastic.l.k@gmail.com> wrote:
> What are the scenarios when dataLengths shows 0 when you do a stat on the
> znode
>
> I couldn't replicate it with zookeeper zkcli.sh or the zookeeper-cli tool
>
> Is it that can only be done via a zookeeper client libraries
>
> We have a znode in production that keeps showing showing no data for the
> parent znode
>
> [zk: xxx.com:2181(CONNECTED) 4] get /com
>
> cZxid = 0x10000022d
> ctime = Thu Oct 29 15:53:51 PDT 2015
> mZxid = 0x10000022d
> mtime = Thu Oct 29 15:53:51 PDT 2015
> pZxid = 0x10000022e
> cversion = 1
> dataVersion = 0
> aclVersion = 0
> ephemeralOwner = 0x0
> dataLength = 0
> numChildren = 1

Mime
View raw message