Created on 02-24-2015 02:39 PM - edited 09-16-2022 02:22 AM
Simple question
When I deploy zookeeper programatically I change the datadir using the Cloudera API with the variable:
conf = {"dataDir": "/mnt/mydir" }
that I pass to the zookeeper service with:
zook_service.update_config(conf)
This indeed works and I can see the value in the Cloudera Manager
But when I check the /etc/zookeeper/conf/zoo.cfg file I see:
dataDir=/var/lib/zookeeper
Which one takes precedence?
Created 02-24-2015 04:21 PM
Created 02-24-2015 04:21 PM
Created 02-24-2015 04:23 PM
Created 02-24-2015 04:22 PM