2

What is the default HADOOP_HOME location in Cloudera CDH4 VM.

echo $HADOOP_HOME returns blank.

unnik
  • 1,123
  • 5
  • 18
  • 37

2 Answers2

3

/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.

Community
  • 1
  • 1
b4hand
  • 9,550
  • 4
  • 44
  • 49
1

Try to echo : HADOOP_MAPRED_HOME .
AFAIK, HADOOP_HOME is deprecated and HADOOP_MAPRED_HOME is the new one for MapReduce1 and MapReduce2.

Chiron
  • 20,081
  • 17
  • 81
  • 133