Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9BA75DB8E for ; Tue, 4 Sep 2012 07:55:53 +0000 (UTC) Received: (qmail 71389 invoked by uid 500); 4 Sep 2012 07:55:49 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 71005 invoked by uid 500); 4 Sep 2012 07:55:48 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 70983 invoked by uid 99); 4 Sep 2012 07:55:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 07:55:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ramesh.narasingu@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 07:55:42 +0000 Received: by obbtb18 with SMTP id tb18so13250175obb.35 for ; Tue, 04 Sep 2012 00:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dCwtjJ78yQWyKi7FyzaK6g+QTZ96BcG0dTcbeWcr6Pg=; b=KNx3AVzdJG/0BRwEJSS6uXK+FHpKdGUpBLmN8YLpyLxnMNqQopryNDNWwvym58pt5P jXgbJjQ9tJHYCS5qic9mgNvoK5wdgXanBxomqwfOxr41OQ+nFi5+vg7ZLDe0nnSPLsvL k+Y57wVXaN7elb6RDAu1jgs/jY7bnhqp18DY5+jhXiHFHf0RvOoNEfWRVp2o/5hAHzzb +TbZur2gsQJ99CIZbWE1fo6d3jpn0TVApRlYyX/MM5SL9d/Fu1va7nLcenSHsExphbUg /Vm7XeWkw9XNpSP6FoUsigpQLZh+POAK4Uab8fUkv1510xD2AL+wKIn/fKJEif1JVUYa Bw6w== MIME-Version: 1.0 Received: by 10.182.110.67 with SMTP id hy3mr15807475obb.52.1346745321446; Tue, 04 Sep 2012 00:55:21 -0700 (PDT) Received: by 10.182.65.234 with HTTP; Tue, 4 Sep 2012 00:55:21 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 Sep 2012 13:25:21 +0530 Message-ID: Subject: Re: Hadoop Streaming: Does not recognise PATH and CLASSPATH defined From: Narasingu Ramesh To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=f46d0445171d7cdc1304c8db94b8 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0445171d7cdc1304c8db94b8 Content-Type: text/plain; charset=ISO-8859-1 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, Ramesh.Narasingu On Tue, Sep 4, 2012 at 1:11 PM, Andy Xue 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 > --f46d0445171d7cdc1304c8db94b8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Andy,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Please specify the environmen= t varibles in gedit .bashrc. you can specify for the JAVA_HOME environment = variables and configuration hadoop-site.xml,hadoop-core.xml,and hadoop-defa= ult.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 te= rminal. It shows the correct installations.

Thanks & Regards,
Ramesh.Narasingu


--f46d0445171d7cdc1304c8db94b8--