Apache Kylin : Analytical Data Warehouse for Big Data
Page History
...
The implementation class is ZookeeperDistributedLock, which is also implemented by using the temporary node of zookeeper. ZookeeperJobLock is a simple delegator to ZookeeperDistributedLock with a default constructor.
When a segment build job is submitted and the job is scheduled for execution, the jobId will be spelled in the temporary node path of zookeeper, and the node will be locked. When the final state of the whole job becomes SUCCEED,ERROR 和DISCARDED, the lock will be released.
...
Overview
Content Tools
ThemeBuilder
Apps