Skip to content

build(deps): upgrade ZooKeeper from 3.8.8 to 3.9.7 - #20977

Open
abhishekrb19 wants to merge 4 commits into
apache:masterfrom
abhishekrb19:upgrade-zookeeper-3.9.7
Open

abhishekrb19 wants to merge 4 commits into
apache:masterfrom
abhishekrb19:upgrade-zookeeper-3.9.7

Conversation

@abhishekrb19

Copy link
Copy Markdown
Contributor

Description

Upgrade the bundled ZooKeeper client from 3.8.8 to 3.9.7, the current stable release. Curator 5.9.0 already targets the 3.9 client. A 3.9 client still works with ZooKeeper 3.5 and later servers, so the ensemble does not have to move.

ZooKeeper 3.9 enables zookeeper.fips-mode by default, which disables SASL DIGEST-MD5. Kerberos and Druid's druid.zk.service.user digest ACL auth are unchanged. Clusters that log into ZooKeeper with a JAAS username and password need -Dzookeeper.fips-mode=false. The optional Netty tcnative/OpenSSL jar that ZooKeeper 3.9 adds is excluded; Druid keeps the JDK SSL provider.

Release note

The bundled ZooKeeper client is now 3.9.7. Existing ensembles do not have to be upgraded. SASL DIGEST-MD5 logins need -Dzookeeper.fips-mode=false.

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added or updated version, license, or notice information in licenses.yaml

Move the bundled client to the current stable line. Existing 3.5+ ensembles keep working. Note that ZooKeeper 3.9 enables FIPS mode by default, which disables SASL DIGEST-MD5.
3.9.7 is outside the affected range in the CVE record, so the false-positive suppression for the fixed jar is no longer needed.

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🟡 Changes recommended

The ZooKeeper license metadata records an outdated upstream NOTICE year for 3.9.7, which Druid’s release tooling emits into NOTICE.BINARY.

Reviewed 3 of 3 changed files; surrounding Maven, Curator/authentication, dependency, and license-generation code was inspected.

Validation: Static review only; no build, test, install, formatter, dependency scan, fetch, or posting command was run.

Severity Findings
P0 0
P1 0
P2 1
P3 0
Total 1

This is an automated review by Codex GPT-5.6-Luna(max)

After addressing the findings or replying to the comments, you can request another review from me to trigger a new automated review.

Comment thread licenses.yaml
- zookeeper: |
Apache ZooKeeper
Copyright 2009-2023 The Apache Software Foundation
Copyright 2009-2024 The Apache Software Foundation

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[P2] ZooKeeper NOTICE year is stale for 3.9.7

Finding: The 3.9.7 upstream NOTICE records Copyright 2009-2026, but this entry records Copyright 2009-2024. Druid's binary-notice generator emits this text verbatim, so the released NOTICE.BINARY will contain inaccurate third-party copyright metadata.

Suggestion: Update the notice text to match the exact upstream NOTICE shipped with ZooKeeper 3.9.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants