Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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