What you need for this book
Readers who are familiar with the concepts of distributed systems and any high-level programming language such as Java, C, or Python will feel very comfortable to grasp the concepts and code samples presented in this book with much ease. However, the book doesn't need readers to have any prior experience with Apache ZooKeeper.
The procedure to download, install, and configure ZooKeeper is presented in the first chapter of this book. To play around with ZooKeeper and run the example code of this book, readers need to have access to a system with the following requirements:
- Operating System: A recent version of a Linux operating system, such as Ubuntu, Fedora, or CentOS.
- Java SE Development Kit 7: This is downloadable from Oracle at http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html.
- GCC Compiler suite: This compiles the C code of this book. GCC usually comes pre-installed with Ubuntu, Fedora flavor, or Linux, or it can be installed as follows:
- For Ubuntu, the
sudo apt-get install gcc
command is used. - For Fedora/CentOS, the
sudo yum install gcc
command can be used.
- For Ubuntu, the
- Python 2.7.x: This is required to run the Python code samples. Python can be downloaded from https://www.python.org/downloads/.