O'Reilly logo

Apache Hive Essentials by Dayong Du

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ZooKeeper

ZooKeeper (see http://zookeeper.apache.org/) is a centralized service for configuration management and the synchronization of various aspects of naming and coordination. It manages a naming registry and effectively implements a system for managing the various statically and dynamically named objects in a hierarchical system. It also enables coordination and control to the shared resources, such as files and data, which are manipulated by multiple concurrent processes.

Unlike RDBMS, Hive does not natively support concurrency access and locking mechanisms. Hive relies on ZooKeeper for locking the shared resources since Hive 0.7.0. There are two types of locks provided by Hive through Zookeeper and they are as follows:

  • Shared lock: This is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required