Zookeeper ACL configuration in Dremio OSS

Hi,

I’m trying to enable ACL in the zookeeper used in my dremio OSS cluster.
I’m testing the solution in local: the configuration is an external zookeeper with 2 dremio nodes (1 coordinator and 1 executor) just to figure out where/how configure the ACL.

I’m struggling to understand how I can achieve it: I don’t see any documentation on properties that I can force in the zookeeper section of the dremio.conf file or some env variables to set/pass (I’m using docker in my setup with dremio-oss:24.3 image).

Is there any reference on how to do this ? From my understanding at the moment dremio is ignoring any conf/variable and creating the /dremio node on zookeeper with public access. Is it possible to configuring this in Dremio somehow?

Thanks,
Ivan

@ancelot182

When you say ACL, I assume three things

  • ZK address, usually a IP address
  • ZK node
  • ZK port

Do you have something like this in your dremio.conf?

zookeeper: "<host1>:2181,<host2>:2181,<host3>:2181/dremioprod/dremio"

HI Balaji,

thanks for the reply.
Yes I’ve the the zookeeper property

zookeeper: "zk:2181"

and I’ve tried to specify the node as well

zookeeper: "zk:2181/dremio"

What I’m missing is the ability to enable authentication on the zookeeper node and have Dremio use it.
For example my zookeeper use a digest mechanism for the authentication on the node:
addauth digest ${USER}:${PASS}

My Dremio should log to the node onluy using a technical user with username/password but I can’t find documentation on how to pass the information to the container.

For example I imagined something like:

environment:
      DREMIO_ZOOKEEPER_QUORUM: zk:2181
      DREMIO_ZOOKEEPER_AUTH_SCHEME: digest
      DREMIO_ZOOKEEPER_AUTH_USERNAME: dremio_user
      DREMIO_ZOOKEEPER_AUTH_PASSWORD: dremio_password

Are there any configuration Dremio OSS can use it for this ?

Thanks,
Ivan