Cloudera Lakehouse Optimizer high availability configuration properties

Use the following properties to configure high availability (HA) for Cloudera Lakehouse Optimizer.

Table 1. HA configuration properties
Property Description Default Example
dlm.ha.advertise.address The base URL (scheme, host, and port) that this Cloudera Lakehouse Optimizer instance advertises to peers for leader redirection. Use this property when the auto-detected API URL is not reachable by other Cloudera Lakehouse Optimizer instances or API clients. Auto-detected from the API server configuration and local hostname https://dlm-node1.example.com:8443
dlm.ha.enabled Enables HA mode. When set to true, Cloudera Lakehouse Optimizer participates in ZooKeeper leader election and uses database fencing tokens for state-mutating operations. false true
dlm.ha.knox.discovery.path The ZooKeeper path of the Knox descriptor JSON managed by Cloudera Manager. When set, the elected leader reads this descriptor, updates the Cloudera Lakehouse Optimizer service URL in the services array, and writes the modified JSON back so Knox routes traffic to the current leader. Not set /knox/config/descriptors/cdp-proxy.json
dlm.ha.knox.service.name The Knox service name in the descriptor services array. Must match the name Knox exposes for Cloudera Lakehouse Optimizer. DLM DLM
dlm.ha.knox.service.version The Knox service version in the descriptor services array. Used when Cloudera Lakehouse Optimizer is not yet present in the descriptor. 1.0.0 1.0.0
dlm.ha.passive.redirect Controls passive-node behavior. When set to true, passive instances redirect API clients to the leader with HTTP 307 Temporary Redirect. When set to false, passive instances return HTTP 503 Service Unavailable. false true
dlm.ha.retry-after-seconds The value for the HTTP Retry-After header returned to clients when a passive instance cannot serve the request. 5 5
dlm.ha.zookeeper.connect The ZooKeeper connection string used for leader election. All Cloudera Lakehouse Optimizer instances must use the same connection string. Not set zk1:2181,zk2:2181,zk3:2181
dlm.ha.zookeeper.delay The retry delay in milliseconds when the leader election service fails to connect to ZooKeeper. 1000 1000
dlm.ha.zookeeper.latch.path The ZooKeeper path used for leader election. Not set /dlm/leader
dlm.ha.zookeeper.retries The number of retries when the leader election service fails to acquire the leader latch. 3 3