- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
zookeeper datadir name configuration
- Labels:
-
Apache Zookeeper
-
Cloudera Manager
Created on ‎02-24-2015 02:39 PM - edited ‎09-16-2022 02:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See here for more info:
http://blog.cloudera.com/blog/2013/07/how-does-cloudera-manager-work/
Thanks,
Darren
Created ‎02-24-2015 04:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See here for more info:
http://blog.cloudera.com/blog/2013/07/how-does-cloudera-manager-work/
Thanks,
Darren
Created ‎02-24-2015 04:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/var/run/cloudera-scm-agent/process/ (look for the latest director for
zookeeper)
Gautam Gopalakrishnan
Created ‎02-24-2015 04:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sure if Cloudera Manager copies the data from the old to the new
location, that is something you might have to take care of manually as
well
Gautam Gopalakrishnan
