Home:ALL Converter>Locating Cloudera Manager HDFS config files

Locating Cloudera Manager HDFS config files

Ask Time:2012-10-31T00:45:10         Author:Sam Hammamy

Json Formatter

I've installed a cluster via Cloudera Manager, and now I need to launch the cluster manually.

I've been using the following command:

$ sudo -u hdfs hadoop namenode / datanode / jobtracker

But then the dfs.name.dir is set up /tmp. I can't seem to find where cloudera manager has the HDFS config files. The ones in /usr/lib/hadoop-02*/conf seem to be minimal. They're missing the dfs.name.dir which is what I'm looking for particularly. I'm on an RHLE 6 system, by the way. Being lazy, I though I could just copy over cloudera manager's HDFS config files, so I don't have to manually create them, the copy them over to 6 nodes :)

Thanks

Author:Sam Hammamy,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/13143810/locating-cloudera-manager-hdfs-config-files
rational :

I was facing same problem. \nI was changing configuration parameters from cloudera manager ui but was clueless where my changes were getting updated on local file system.\n\nI ran grep command and found out that in my case configuration were stored at /var/run/cloudera-scm-agent/process/*-hdfs-NAMENODE directory.\n\nSo David is right, whenever we change configs from ui and restart service, it creates new config. settings in /var/run/cloudera-scm-agent/process/ directory.",
2012-12-28T06:49:38
Geoffrey Malafsky :

Using CentOS 6.5, the Cloudera Manager special files do not show up in a SEARCH FILES result because their permissions are set to hide from all but the 'hdfs' user. In addition, there are multiple versions of hdfs-site.xml on the local drive some of which have partial amounts of real settings. The actual settings file is in the DATANODE folder not the NAMENODE folder as evidenced by the lack of dfs.datanode.data.dir values in the latter.",
2014-07-24T17:08:52
David Gruzman :

Cloudera manager deploying config file each time you start cluster, each time in different directory. Directories are named after process id or something like this. \nThe configuration is passed explicitly to each deamon as parameter. So if you will look into command line of each hadoop deamons you can see where is configuration sitting (or just grep over disk for hdfs-site.xml. Names of config files are the same as usual.",
2012-10-30T18:22:00
yy