You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Andrew Pennebaker <ap...@42six.com> on 2013/08/28 13:58:29 UTC

MapReduce Tutorial instruction requires deprecated env variable

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?

Re: MapReduce Tutorial instruction requires deprecated env variable

Posted by Andrew Pennebaker <ap...@42six.com>.
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 <ap...@42six.com>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?
>

Re: MapReduce Tutorial instruction requires deprecated env variable

Posted by Andrew Pennebaker <ap...@42six.com>.
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 <ap...@42six.com>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?
>

Re: MapReduce Tutorial instruction requires deprecated env variable

Posted by Andrew Pennebaker <ap...@42six.com>.
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 <ap...@42six.com>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?
>

Re: MapReduce Tutorial instruction requires deprecated env variable

Posted by Andrew Pennebaker <ap...@42six.com>.
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 <ap...@42six.com>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?
>