Use LeaderLatch to determine if oracle exists (#1088)

* Use LeaderLatch to determine if oracle exists

The old implementation of oracleExists checks to see if there are
more than 1 ZNodes under the ZookeeperPath.ORACLE_SERVER path. This
relies on the LeaderLatch implementation and uses a path given to
a Curator recipe, which is advised against by the Curator docs.
See https://cwiki.apache.org/confluence/display/CURATOR/TN7.

The new implementation utilizes LeaderLatch to count the number
of participants to see if there's more than 0.
3 files changed
tree: 0dca0352db46ec59153fec786e6c1a931c638a3e
  1. contrib/
  2. modules/
  3. .gitignore
  4. .travis.yml
  5. CONTRIBUTING.md
  6. LICENSE
  7. NOTICE
  8. pom.xml
  9. README.md
README.md

Fluo

Build Status Apache License Maven Central Javadoc

Apache Fluo is a distributed processing system that lets users make incremental updates to large data sets. With Apache Fluo, users can set up workflows that execute cross node transactions when data changes. These workflows enable users to continuously join new data into large existing data sets without reprocessing all data. Apache Fluo is built on Apache Accumulo. Check out the Fluo project website for news and general information.

Getting Started

  • Take the Fluo Tour if you are completely new to Fluo.
  • Read the Fluo documentation to learn how to install Fluo and start a Fluo application on a cluster where Accumulo, Hadoop & Zookeeper are running. If you need help setting up these dependencies, see the related projects page for external projects that may help.