Skip to content

ATLAS-4764: CuratorFrameWork should work only with Zookeeper HA mode#587

Merged
pinal-shah merged 1 commit intoapache:masterfrom
pareshddevalia:ATLAS-4764
Apr 7, 2026
Merged

ATLAS-4764: CuratorFrameWork should work only with Zookeeper HA mode#587
pinal-shah merged 1 commit intoapache:masterfrom
pareshddevalia:ATLAS-4764

Conversation

@pareshddevalia
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Disable ZooKeeper/Curator initialization when HA is not enabled: CuratorFactory now initializes CuratorFramework only when atlas.server.ha.enabled is explicitly present and set to true. This avoids attempting ZooKeeper connections in non-HA setups.

Remove legacy code for ZooKeeper connect string: HAConfiguration.getZookeeperProperties() no longer falls back to atlas.kafka.zookeeper.connect when atlas.server.ha.zookeeper.connect is missing; it now uses an empty connect string

How was this patch tested?

Unit tests: Updated/added tests for HAConfiguration and CuratorFactory (locally).
Docker validation: Verified Atlas startup with default atlas.server.ha.enabled=false

Testing : Tested locally. By default atlas.server.ha.enabled=false
Docker tested with Atlas startup.
@pinal-shah pinal-shah merged commit 2be84e3 into apache:master Apr 7, 2026
1 of 2 checks passed
aditya-gupta36 pushed a commit to aditya-gupta36/atlas that referenced this pull request Apr 15, 2026
UmeshPatil-1 pushed a commit to UmeshPatil-1/atlas that referenced this pull request Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants