Repository navigation
build(deps): upgrade ZooKeeper from 3.8.8 to 3.9.7 - #20977
abhishekrb19 wants to merge 4 commits into
Conversation
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
left a comment
There was a problem hiding this comment.
🟡 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.
| - zookeeper: | | ||
| Apache ZooKeeper | ||
| Copyright 2009-2023 The Apache Software Foundation | ||
| Copyright 2009-2024 The Apache Software Foundation |
There was a problem hiding this comment.
[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.
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-modeby default, which disables SASLDIGEST-MD5. Kerberos and Druid'sdruid.zk.service.userdigest 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-MD5logins need-Dzookeeper.fips-mode=false.This PR has: