ZooKeeper

Dremio utilizes Apache ZooKeeper behind the scenes for cluster coordination.

Dremio automatically runs an embedded ZooKeeper instance on every coordinator node, and this should be entirely transparent to you. You can alternatively configure Dremio to use an external ZooKeeper cluster. Default port: 2181

Deployment Zookeeper property
Single node cluster The Zookeeper property is not added to the dremio.conf file with a single node cluster.
Multi-node cluster The Zookeeper property must be added to the dremio.conf file on each coordinator and executor node in the Dremio cluster.

Embedded ZooKeeper

By default, Dremio runs an embedded ZooKeeper with port 2181. In a Dremio cluster, other than a standalone node, you must add the Zookeeper property to the dremio.conf file on each coordinator and executor node in the Dremio cluster.

External Zookeeper

To use your own external ZooKeeper cluster rather than Dremio's embedded ZooKeeper, modify the zookeeper property in the dremio.conf file. If no ZooKeeper path is specified, Dremio defaults to /dremio.

[info] The dremio.conf must be updated on every Dremio coordinator and executor node in the cluster.

The following example shows the default property and syntax:

services.coordinator.master.embedded-zookeeper.enabled: false
zookeeper: "<host1>:2181,<host2>:2181"
  • If you are configuring for HA, then each dremio.conf file on all nodes in the Dremio cluster must specify the Zookeeper property with every Zookeeper location.

    For example, if zooA is the primary Zookeeper node and zooB is the secondary Zookeeper node, then your Zookeeper setting is zookeeper: "zooA:2181,zooB:2181".

  • If you are configuring multiple Dremio cluster to run using the same Zookeeper quorum, then you set the property to point to a different root.

For More Information


results matching ""

    No results matching ""