THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!

Apache Kylin : Analytical Data Warehouse for Big Data

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...