slackbuilds/system/zookeeper
Andrew Clemons b2519f95fd
various: Use zulu jdk builds for REQUIRES.
As noted in the FAQ, you can still use Oracle's JDK for
building or running, but we'll default to the Zulu builds
in the REQUIRES since they are easily downloadable.

Zulu is a good default for us at SBo since it is available
for both 32 and 64 bit, freely downloadable and compatible
and they provide builds for all the LTS branches.

We don't currently have builds for Adoptium (previously
AdoptOpenJDK, not part of the Eclipse Foundation), but if
someone wants to submit builds for them, we can include them
too. Note though that they do not provide 32 bit builds.

Software should run with either Zulu or Oracle's JDK, or
indeed any other builds of OpenJDK, so if I have broken your
build with this change, apologies. This should be rare and
we can change the REQUIRES back to jdkX in that case and note
it in the README, but I do not expect this should be the case.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-03-03 15:56:51 +07:00
..
README
doinst.sh
java.env
rc.zookeeper
slack-desc
zoo.cfg
zookeeper-env.sh
zookeeper.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
zookeeper.info various: Use zulu jdk builds for REQUIRES. 2022-03-03 15:56:51 +07:00

README

ZooKeeper is a centralized service for maintaining configuration
information, naming, providing distributed synchronization, and providing
group services.

All of these kinds of services are used in some form or another by
distributed applications. Each time they are implemented there is a
lot of work that goes into fixing the bugs and race conditions that
are inevitable. Because of the difficulty of implementing these kinds
of services, applications initially usually skimp on them ,which make
them brittle in the presence of change and difficult to manage. Even
when done correctly, different implementations of these services lead
to management complexity when the applications are deployed.

This script requires a 'zookeeper' user/group to exist before running.
The recommended UID/GID is 322. You can create these like so:

groupadd -g 322 zookeeper
useradd -u 322 -g 322 -c "Zookeeper user" \
        -d /var/lib/zookeeper -s /bin/sh zookeeper