Friday, January 03, 2014

Cloudera Manager - Where is HDAOOP_HOME?

For CDH3 packages, set HADOOP_HOME as /usr/lib/hadoop-0.20. CDH4 does not use a 'HADOOP_HOME' anymore. You can however place on your software's CLASSPATH, the CDH4's MRv1 client classpath entries. That is, all the *.jars under /usr/lib/hadoop/client-0.20/*.jar and /usr/lib/hadoop/client-0.20/lib/*.jar.

Note that if you're using CM Parcels, the client-0.20 paths are instead under /opt/cloudera/parcels/<specific parcel version>/lib/hadoop/ or at a custom place if you changed it.

But for further package configuration, you can still specify:
HADOOP_HOME = /opt/cloudera/parcels/CDH/lib/hadoop
HADOOP_CMD =/opt/cloudera/parcels/CDH/bin/hadoop

No comments: