Got it

How Do I Check the Number of zookeeper znodes in Each Directory?

Latest reply: May 25, 2022 16:43:29 908 8 1 0 0

Hello, everyone!

In this post I will introduce to you how to check the number of zookeeper znodes in each directory. let's dissucss it together. 


Log in to the ZooKeeper Shell client and run the getusage /znode name command to view the number of znodes (Node count) and data size (Data size) in the directory.

[zk: 192.168.131.10:24002(CONNECTED) 0] getusage /Node count=709, Data size=133264

That's all, thanks!


  • x
  • convention:

Unicef
MVE Created Feb 24, 2021 06:58:15

Good
View more
  • x
  • convention:

asjad_harm
Created May 25, 2022 02:47:15

What is the zookeeper znodes?
View more
  • x
  • convention:

atadmrl251
atadmrl251 Created May 31, 2022 13:22:42 (0) (0)
 
olive.zhao
Admin Created May 25, 2022 02:48:38

Posted by asjad_harm at 2022-05-25 02:47 What is the zookeeper znodes?

Hello, Asjad!
Please see What is Zookeeper Znode?



View more
  • x
  • convention:

asjad_harm
asjad_harm Created May 25, 2022 02:48:59 (0) (0)
Thanks!  
atadmrl251
Moderator Created May 25, 2022 16:43:16

Posted by olive.zhao at 2022-05-25 02:48 Hello, Asjad!Please see What is Zookeeper Znode?
How Do I Check the Number of zookeeper   znodes in Each Directory?-4957773-1
View more
  • x
  • convention:

olive.zhao
olive.zhao Created May 30, 2022 01:26:03 (0) (0)
 
atadmrl251
Moderator Created May 25, 2022 16:43:29

thanks for sharing
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.