Ah, $HADOOP_PREFIX is the new recommended variable. Could we update the tutorial to reflect this?
https://hadoop.apache.org/docs/stable/mapred_tutorial.html#Source+Code On Wed, Aug 28, 2013 at 7:58 AM, Andrew Pennebaker <[email protected]>wrote: > I'm following the MapReduce > Tutorial<https://hadoop.apache.org/docs/stable/mapred_tutorial.html#Source+Code>, > setting $HADOOP_HOME in order to refer to the Hadoop library during > compilation. But on my computer, Hadoop complains that this variable is > deprecated. > > echo $HADOOP_HOME > /usr/local/Cellar/hadoop/1.2.1/libexec/ > > hadoop version > Warning: $HADOOP_HOME is deprecated. > > Hadoop 1.2.1 > Subversion > https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.2 -r > 1503152 > Compiled by mattf on Mon Jul 22 15:23:09 PDT 2013 > From source with checksum 6923c86528809c4e7e6f493b6b413a9a > This command was run using > /usr/local/Cellar/hadoop/1.2.1/libexec/hadoop-core-1.2.1.jar > > Should I be using a different variable name? >
