pareshddevalia opened a new pull request, #587:
URL: https://github.com/apache/atlas/pull/587

   ## 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to