Skip to content

Conversation

lfrancke
Copy link
Member

@lfrancke lfrancke commented Oct 6, 2025

Description

This works around https://issues.apache.org/jira/browse/ZOOKEEPER-4985
If we don't set this variable most of the shell scripts will fail (definitely zkCleanup.sh).
It can be set manually before every call but we do know the location of the config directory so no harm in making it a bit easier.

I didn't think this needed a changelog entry, happy to add if you think otherwise.

Definition of Done Checklist

  • Add an entry to the CHANGELOG.md file
  • Integration tests ran successfully

@lfrancke lfrancke moved this to Development: Waiting for Review in Stackable Engineering Oct 6, 2025
ENV PATH="${PATH}":/stackable/zookeeper/bin
# This is used by zkEnv.sh and for the shell scripts in bin/
# If unset it tries to find the conf directory automatically and that fails
ENV ZOOCFGDIR=/stackable/config
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, we have a rwconfig as well for the real config https://github.com/stackabletech/zookeeper-operator/blob/e370101dfe986e862c0354f6a50471b857d0c078/rust/operator-binary/src/zk_controller.rs#L927.
Its created by the operator though...maybe this should be set in the operator?

@lfrancke lfrancke moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Oct 7, 2025
@lfrancke lfrancke moved this from Development: In Review to Development: Waiting for Review in Stackable Engineering Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Development: Waiting for Review
Development

Successfully merging this pull request may close these issues.

2 participants