Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
heZookeeper CLI not showing node data

Basically i have setup a new zookeeper instance - version zookeeper-3.6.0

The zookeeper is started successfully and i am able to connect to the cli.

I am trying to create some sample node like below :

[zk: localhost:2181(CONNECTED) 3] create /myfirstnode "sample-app"
Created /myfirstnode
[zk: localhost:2181(CONNECTED) 4] get /myfirstnode
sample-app
[zk: localhost:2181(CONNECTED) 5]

you see in the above code, it does not show the data values or Stat Structure .... it just shows sample-app without any stat structure.

Anyone please help, why it doesn't show data like in the below code :

cZxid = 0x7f
ctime = Tue Sep 29 16:15:47 IST 2015
mZxid = 0x7f
mtime = Tue Sep 29 16:15:47 IST 2015
pZxid = 0x7f
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 22
numChildren = 0
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You should use stat command:

[zk: localhost:2181(CONNECTED) 4] stat /myfirstnode
cZxid = 0x2
ctime = Tue Apr 28 05:01:37 CEST 2020
mZxid = 0x2
mtime = Tue Apr 28 05:01:37 CEST 2020
pZxid = 0x2
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 10
numChildren = 0

Also help command is very useful, it will show you all available commands you can execute from the CLI.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!