hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narasingu Ramesh <ramesh.narasi...@gmail.com>
Subject Re: Hadoop Streaming: Does not recognise PATH and CLASSPATH defined
Date Tue, 04 Sep 2012 07:55:21 GMT
Hi Andy,
            Please specify the environment varibles in gedit .bashrc. you
can specify for the JAVA_HOME environment variables and configuration
hadoop-site.xml,hadoop-core.xml,and hadoop-default.xml files you can
specify which version hadoop you can use those things and then close
.bashrc and close terminal also finally you can open new terminal. It shows
the correct installations.

Thanks & Regards,

On Tue, Sep 4, 2012 at 1:11 PM, Andy Xue <andyxueyuan@gmail.com> wrote:

> Hi:
> I wish to use Hadoop streaming to run a program which requires specific
> PATH and CLASSPATH variables. I have set these two variables in both
> "/etc/profile" and "~/.bashrc" on all slaves (and restarted these slaves).
> However, when I run the hadoop streaming job, the program generates error
> messages saying that these environment variables are not correctly set.
> Does it mean that I did not set these environment variables in the correct
> place? How should I define these environment variables?
> I use Hadoop 1.0.3 and all machines are running Ubuntu 12.04
> Thank you for your time and help. Have a great day.
> Andy

View raw message