Zookeeper Autopurge Purge Interval Snapshots

Hi guys,

I am running the latest druid helm template and I want to schedule the auto-deletion of the snapshots in the zookeeper cluster.

I am testing it by passing ZOO_AUTOPURGE_PURGEINTERVAL parameter in the envs.

The parameter looks like is correctly loaded but if I log in the pod I can see that zookeeper is not deleting the snapshots.

zookeeper:

enabled: true

persistence:

size: Some-Size-Gi

env:

ZOO_AUTOPURGE_PURGEINTERVAL: 1

It would be great if anybody can spot if there is an error in my configuration or missing parameter or the error lies somewhere else.

Thanks,

Marco

Are you using the provided zookeeper or your own? Are you able to manually delete the snapshots?

hi Rachel,

thank you for getting back to me,

I am using the following helm chart, zookeeper is included in the deployment.
https://github.com/helm/charts/tree/master/incubator/druid

I am able to manually delete the snapshots, but I would like to solve this as infrastructure as code.

Thanks,
Marco

I did see some issues awhile back with this being an issue with ZK. Maybe check the version and see if that issue has been resolved?