January 2015
Beginner
168 pages
3h 41m
English
ZooKeeper's data model and its API support the following nine basic operations:
|
Operation |
Description |
|---|---|
|
|
Creates a znode in a specified path of the ZooKeeper namespace |
|
|
Deletes a znode from a specified path of the ZooKeeper namespace |
|
|
Checks if a znode exists in the path |
|
|
Gets a list of children of a znode |
|
|
Gets the data associated with a znode |
|
|
Sets/writes data into the data field of a znode |
|
|
Gets the ACL of a znode |
|
|
Sets the ACL in a znode |
|
|
Synchronizes a client's view of a znode with ZooKeeper |
Let's look at the ZooKeeper operations mentioned in the preceding table using ZooKeeper Java shell:
Read now
Unlock full access