Search code examples
hadoopcloudera

Cloudera CDH VM default HADOOP_HOME Location


What is the default HADOOP_HOME location in Cloudera CDH4 VM.

echo $HADOOP_HOME returns blank.


Solution

  • /usr/lib/hadoop is the default HADOOP_HOME in CDH4.

    Regarding deprecation, it appears HADOOP_PREFIX is the replacement for HADOOP_HOME:

    $HADOOP_HOME is deprecated

    I believe HADOOP_MAPRED_HOME is only used for the map reduce infrastructure, if you are using HDFS directly, then you probably want HADOOP_PREFIX.