SlideShare a Scribd company logo
Create Znodes
=============
Syntax
------
create /path /data
create -s /path /data
create -e /path /data
Ex
--
create /FirstZnode "Myfirstzookeeper-app"
create -s /FirstZnode "second-data"
create -e /SecondZnode "Ephemeral-data"
--------------------------------------------------------------------------------
------------------------------------------------------
Get Data of a znode
===================
Syntax
------
get /path
Ex
--
get /FirstZnode
get /FirstZnode0000000003
--------------------------------------------------------------------------------
------------------------------------------------------
Watch Znode for Changes
=======================
Syntax
------
get /path [watch] 1
Ex
--
get /FirstZnode 1
--------------------------------------------------------------------------------
------------------------------------------------------
Set Data of a znode
===================
Syntax
------
set /path /data
Ex
--
set /SecondZnode "Data-updated"
set /FirstZnode "Mysecondzookeeper-app"
--------------------------------------------------------------------------------
------------------------------------------------------
Create Children of a znode
==========================
Syntax
------
create /parent/path/subnode/path /data
Ex
--
create /FirstZnode/Child1 "firstchildren"
create /FirstZnode/Child2 "secondchildren"
--------------------------------------------------------------------------------
------------------------------------------------------
List children of a znode
========================
Syntax
------
ls /path
Ex
--
ls /FirstZnode
--------------------------------------------------------------------------------
------------------------------------------------------
Check Status of a znode
=======================
Syntax
------
stat /path
Ex
--
stat /FirstZnode
--------------------------------------------------------------------------------
------------------------------------------------------
Remove / Delete a znode
=======================
Syntax
------
rmr /path
delete /path
Ex
--
rmr /FirstZnode
delete /FirstZnode
Verification
------------
get /FirstZnode

More Related Content

TXT
Quick reference for solr
TXT
Quick reference for HBase shell commands
TXT
Quick reference for mongo shell commands
TXT
Quick reference for hql
PDF
pg_proctab: Accessing System Stats in PostgreSQL
PDF
pg_proctab: Accessing System Stats in PostgreSQL
PDF
Hadoop Performance comparison
PDF
pg_proctab: Accessing System Stats in PostgreSQL
Quick reference for solr
Quick reference for HBase shell commands
Quick reference for mongo shell commands
Quick reference for hql
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
Hadoop Performance comparison
pg_proctab: Accessing System Stats in PostgreSQL

What's hot (20)

TXT
Db health check
PDF
Linea de comandos bioface zem800
DOCX
Oracle 12c far sync standby instance
PDF
Tibero sql execution plan guide en
PDF
PostgreSQL Portland Performance Practice Project - Database Test 2 Tuning
PDF
Strategic autovacuum
TXT
Free toolsinstall
TXT
Command
PDF
Top 10 Mistakes When Migrating From Oracle to PostgreSQL
PDF
Operation outbreak
PPTX
SCALE 15x Minimizing PostgreSQL Major Version Upgrade Downtime
PPT
Hands on Hadoop
PDF
Conquering the Command Line
PDF
Learning the command line
PDF
First there was the command line
PDF
How to create a pluggable database by cloning an existing local pdb
PPTX
Automating Disaster Recovery PostgreSQL
PDF
[Pgday.Seoul 2019] Citus를 이용한 분산 데이터베이스
PDF
XPDS14 - osstest, Xen's Automatic Testing Facility - Ian Jackson, Citrix
PDF
PostgreSQL Procedural Languages: Tips, Tricks and Gotchas
Db health check
Linea de comandos bioface zem800
Oracle 12c far sync standby instance
Tibero sql execution plan guide en
PostgreSQL Portland Performance Practice Project - Database Test 2 Tuning
Strategic autovacuum
Free toolsinstall
Command
Top 10 Mistakes When Migrating From Oracle to PostgreSQL
Operation outbreak
SCALE 15x Minimizing PostgreSQL Major Version Upgrade Downtime
Hands on Hadoop
Conquering the Command Line
Learning the command line
First there was the command line
How to create a pluggable database by cloning an existing local pdb
Automating Disaster Recovery PostgreSQL
[Pgday.Seoul 2019] Citus를 이용한 분산 데이터베이스
XPDS14 - osstest, Xen's Automatic Testing Facility - Ian Jackson, Citrix
PostgreSQL Procedural Languages: Tips, Tricks and Gotchas
Ad

Viewers also liked (11)

PDF
Shake party Herbalife!!!
PDF
Certificate_2
PDF
SUSTAINABLE TRANSPORATION PLANNING – A SYSTEMS APPROACH
PDF
Coursera webapplications 2015
PPTX
Money vocabulary
PDF
E.1.1. competencias del instructor
PPTX
505 Revised.pptx
PPTX
Luz angelacarvajal actividad1 2mapac.
PDF
Official degree -TU-Parampreet Singh
DOC
Sesion stop ciberbullying ESO
PPTX
Electronic Structure of an Atom
Shake party Herbalife!!!
Certificate_2
SUSTAINABLE TRANSPORATION PLANNING – A SYSTEMS APPROACH
Coursera webapplications 2015
Money vocabulary
E.1.1. competencias del instructor
505 Revised.pptx
Luz angelacarvajal actividad1 2mapac.
Official degree -TU-Parampreet Singh
Sesion stop ciberbullying ESO
Electronic Structure of an Atom
Ad

Similar to Quick reference for zookeeper commands (19)

PPTX
Apache zookeeper 101
PPTX
Introduction to apache zoo keeper
PDF
zookeeperProgrammers
PPTX
Meetup on Apache Zookeeper
PDF
Introduction to ZooKeeper - TriHUG May 22, 2012
PPTX
Apache zookeeper seminar_trinh_viet_dung_03_2016
PDF
Apache Zookeeper
PPTX
Zookeeper Tutorial for beginners
PPTX
Zookeeper Architecture
PPTX
Leo's Notes about Apache Kafka
ODP
Beyond the Node: Arkestration with Noah
PPT
Zookeeper Introduce
PPTX
Zookeeper big sonata
PDF
Introduction to Apache ZooKeeper | Big Data Hadoop Spark Tutorial | CloudxLab
PPTX
So we're running Apache ZooKeeper. Now What? By Camille Fournier
PDF
Distributed system coordination by zookeeper and introduction to kazoo python...
PDF
Taming Pythons with ZooKeeper (Pyconfi edition)
PPTX
Zookeeper
PDF
ZooKeeper Partitioning - A project report
Apache zookeeper 101
Introduction to apache zoo keeper
zookeeperProgrammers
Meetup on Apache Zookeeper
Introduction to ZooKeeper - TriHUG May 22, 2012
Apache zookeeper seminar_trinh_viet_dung_03_2016
Apache Zookeeper
Zookeeper Tutorial for beginners
Zookeeper Architecture
Leo's Notes about Apache Kafka
Beyond the Node: Arkestration with Noah
Zookeeper Introduce
Zookeeper big sonata
Introduction to Apache ZooKeeper | Big Data Hadoop Spark Tutorial | CloudxLab
So we're running Apache ZooKeeper. Now What? By Camille Fournier
Distributed system coordination by zookeeper and introduction to kazoo python...
Taming Pythons with ZooKeeper (Pyconfi edition)
Zookeeper
ZooKeeper Partitioning - A project report

More from Rajkumar Asohan, PMP (6)

PDF
Quick reference for Grafana
TXT
Quick reference for spark sql
TXT
Quick reference for kafka
TXT
Quick reference for sqoop
TXT
Quick reference for curl
TXT
Quick reference for cql
Quick reference for Grafana
Quick reference for spark sql
Quick reference for kafka
Quick reference for sqoop
Quick reference for curl
Quick reference for cql

Recently uploaded (20)

PPTX
Presentation on HIE in infants and its manifestations
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
RMMM.pdf make it easy to upload and study
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Cell Structure & Organelles in detailed.
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
Cell Types and Its function , kingdom of life
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
Presentation on HIE in infants and its manifestations
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Microbial disease of the cardiovascular and lymphatic systems
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
RMMM.pdf make it easy to upload and study
Anesthesia in Laparoscopic Surgery in India
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Cell Structure & Organelles in detailed.
Pharmacology of Heart Failure /Pharmacotherapy of CHF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
01-Introduction-to-Information-Management.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
A systematic review of self-coping strategies used by university students to ...
Cell Types and Its function , kingdom of life
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Chinmaya Tiranga quiz Grand Finale.pdf

Quick reference for zookeeper commands

  • 1. Create Znodes ============= Syntax ------ create /path /data create -s /path /data create -e /path /data Ex -- create /FirstZnode "Myfirstzookeeper-app" create -s /FirstZnode "second-data" create -e /SecondZnode "Ephemeral-data" -------------------------------------------------------------------------------- ------------------------------------------------------ Get Data of a znode =================== Syntax ------ get /path Ex -- get /FirstZnode get /FirstZnode0000000003 -------------------------------------------------------------------------------- ------------------------------------------------------ Watch Znode for Changes ======================= Syntax ------ get /path [watch] 1 Ex -- get /FirstZnode 1 -------------------------------------------------------------------------------- ------------------------------------------------------ Set Data of a znode =================== Syntax ------ set /path /data Ex -- set /SecondZnode "Data-updated" set /FirstZnode "Mysecondzookeeper-app" -------------------------------------------------------------------------------- ------------------------------------------------------ Create Children of a znode ========================== Syntax ------ create /parent/path/subnode/path /data Ex -- create /FirstZnode/Child1 "firstchildren" create /FirstZnode/Child2 "secondchildren" -------------------------------------------------------------------------------- ------------------------------------------------------ List children of a znode
  • 2. ======================== Syntax ------ ls /path Ex -- ls /FirstZnode -------------------------------------------------------------------------------- ------------------------------------------------------ Check Status of a znode ======================= Syntax ------ stat /path Ex -- stat /FirstZnode -------------------------------------------------------------------------------- ------------------------------------------------------ Remove / Delete a znode ======================= Syntax ------ rmr /path delete /path Ex -- rmr /FirstZnode delete /FirstZnode Verification ------------ get /FirstZnode