Home
Cloud
Big Data
CI
Install
Samples
Java
Ubuntu
Maven
Archive
Apache ZooKeeper
(3.8.1)
Introduction
ZooKeeper ensemble configuration
Install and configure a ZooKeeper Standalone Server
Install and configure a ZooKeeper Cluster
Install and configure a ZooKeeper Cluster on different hosts
Install and configure a ZooKeeper Cluster on the same host
Install and configure a ZooKeeper Cluster on the same host, using the same ZooKeeper binary distribution
Apache Curator Framework
(5.4.0)
(code samples)
Maven dependencies
Maven - POM Configuration
CuratorFramework
Create a new instance of the CuratorFramework [newClient]
Create a facade on an existing CuratorFramework instance [usingNamespace]
checkExists
Check if a zNode exists
getChildren
List children of a zNode
create
Create a zNode
Create a zNode with data
create::creatingParentsIfNeeded
Create a zNode and its parents
Create a zNode and its parents with data
setData
Set the data of a zNode [setData]
Set the data of a zNode with a specific data version [setData::withVersion]
getData
Print the data of a zNode
ACL
Set the ACL of a zNode [setACL]
Print the ACL of a zNode [getACL]
delete
Delete a zNode
Unit tests: Apache Curator framework (TestingCluster)
Annexes
Zookeeper - Super User
Command Line Utilities: "zkCli"
HTTP administration interface (AdminServer)
Validate running ZooKeeper
ZooKeeper Inspector
References
Apache ZooKeeper Essentials
Authors: Saurav Haloi
Publisher: Packt Publishing (January 2015)
ISBN: 978-1784391324
ZooKeeper Administrator's Guide
http://zookeeper.apache.org/doc/current/zookeeperAdmin.html
ZooKeeper Programmer's Guide
http://zookeeper.apache.org/doc/current/zookeeperProgrammers.html
© 2010-2022
mti
tek