Zookeeper 简明教程
Discuss Zookeeper
ZooKeeper 是一种分布式协调服务,用于管理大量主机。在分布式环境中协调和管理服务是一个复杂的过程。ZooKeeper 通过其简单的架构和 API 解决此问题。ZooKeeper 使开发人员能够专注于核心应用程序逻辑,而不必担心应用程序的分布式性质。
ZooKeeper is a distributed co-ordination service to manage large set of hosts. Co-ordinating and managing a service in a distributed environment is a complicated process. ZooKeeper solves this issue with its simple architecture and API. ZooKeeper allows developers to focus on core application logic without worrying about the distributed nature of the application.
ZooKeeper框架最初是在“雅虎!”为以轻松且可靠的方式访问其应用程序而构建的。后来,Apache ZooKeeper成为Hadoop、HBase和其他分布式框架使用的组织服务的标准。例如,Apache HBase使用ZooKeeper来跟踪分布式数据的状态。本教程阐述了ZooKeeper的基础知识,如何在一个分布式环境中安装并部署ZooKeeper集群,并最终以使用Java编程和示例应用程序的一些示例来作总结。
The ZooKeeper framework was originally built at “Yahoo!” for accessing their applications in an easy and robust manner. Later, Apache ZooKeeper became a standard for organized service used by Hadoop, HBase, and other distributed frameworks. For example, Apache HBase uses ZooKeeper to track the status of distributed data. This tutorial explains the basics of ZooKeeper, how to install and deploy a ZooKeeper cluster in a distributed environment, and finally concludes with a few examples using Java programming and sample applications.