Monday 13 October 2014

Env Variables for Applications in CDH5

The applications in CDH are installed by parcels, which is different with the normal package installation.
In CDH5, the installation path is /opt/cloudera/parcels/CDH-5.1.2-1.cdh5.1.2.p0.3/lib/
Just running "echo $HADOOP_HOME" will return empty. 

You can grab all the env variables from Cloudera Manager by the following steps.
1. Select any service, I will use HDFS for an example.
2. Select instances
3. Select a Datanode
4. Select "Processes"
5. Select "Stderr" 

6. This will give you the output of all the various components env variables.

No comments:

Post a Comment