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 28B8C17B39 for ; Wed, 1 Apr 2015 13:36:46 +0000 (UTC) Received: (qmail 32108 invoked by uid 500); 1 Apr 2015 13:36:05 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 31991 invoked by uid 500); 1 Apr 2015 13:36:05 -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 31876 invoked by uid 99); 1 Apr 2015 13:36:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 13:36:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ravin.iitb@gmail.com designates 209.85.192.42 as permitted sender) Received: from [209.85.192.42] (HELO mail-qg0-f42.google.com) (209.85.192.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 13:36:00 +0000 Received: by qgep97 with SMTP id p97so42186010qge.1 for ; Wed, 01 Apr 2015 06:34:54 -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=01LLbDlJR7gQ0P28eVdxKRgpv1IOhLfDt+tyzuTOw2k=; b=h9IjBwFe7c2QSljWizWZeAe192LWU552LaKKKZXQ9X33Bh5AfXQ85fuF8XspujCC1U F/BYYLZvZqXxcsGZrZS7YMsZLxvBq9UQmAIucMo6WkFCjq3hGWlJspHOdmXDXTH3RsPy PJzkGm9lvrP00oOOsJlkGw1oGmwzh0iuZipcvGAc2uwsw8awoX8dy/vUleyUlt2acDCg nEyJga9is3pPLjiclzOxlZJDXfjMfJvkAX1NtSWsJMw4CVnGhJnGWUFMmwVnG2FX5NfR aeaOGPSS1nGtmtpJq+OF0QzF1XPs6l0XjSvjGWzkvw25293caPYiMNT4xVU4yukKIIv2 k38A== MIME-Version: 1.0 X-Received: by 10.55.55.148 with SMTP id e142mr37209519qka.42.1427895294536; Wed, 01 Apr 2015 06:34:54 -0700 (PDT) Received: by 10.229.119.201 with HTTP; Wed, 1 Apr 2015 06:34:54 -0700 (PDT) In-Reply-To: <1515350458.3500796.1427894742659.JavaMail.yahoo@mail.yahoo.com> References: <1515350458.3500796.1427894742659.JavaMail.yahoo@mail.yahoo.com> Date: Wed, 1 Apr 2015 19:04:54 +0530 Message-ID: Subject: Re: Hadoop 2.6 issue From: Ravindra Kumar Naik To: user@hadoop.apache.org, Anand Murali Content-Type: multipart/alternative; boundary=001a114797a0ceb2bf0512a9c72f X-Virus-Checked: Checked by ClamAV on apache.org --001a114797a0ceb2bf0512a9c72f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Are you sure that its not there, could you please check the output of this command ls /etc/env* On Wed, Apr 1, 2015 at 6:55 PM, Anand Murali wrote: > Mr. Ravindra: > > I am using Ubuntu 14. Can you please provide the full path. I am logged i= n > as root and it is not found in /etc. In any case what you have suggested = I > have tried creating a batch file and it does not work in my installation. > > Thanks > > > > Anand Murali > 11/7, 'Anand Vihar', Kandasamy St, Mylapore > Chennai - 600 004, India > Ph: (044)- 28474593/ 43526162 (voicemail) > > > > On Wednesday, April 1, 2015 6:50 PM, Ravindra Kumar Naik < > ravin.iitb@gmail.com> wrote: > > > I meant /etc/environment. It should be present if you are using Ubuntu. > > Regards, > Ravindra > > On Wed, Apr 1, 2015 at 6:39 PM, Anand Murali > wrote: > > Mr. Ravindra > > I dont find any etc/environment. Can you be more specific please. I have > done whatever you are saying in a user created batch program and run it, > followed by running hadoop-env.sh and it still does not work. > > Thanks > > Anand Murali > 11/7, 'Anand Vihar', Kandasamy St, Mylapore > Chennai - 600 004, India > Ph: (044)- 28474593/ 43526162 (voicemail) > > > > On Wednesday, April 1, 2015 6:10 PM, Ravindra Kumar Naik < > ravin.iitb@gmail.com> wrote: > > > Hi, > > If you are using Ubuntu then add these lines to /etc/environment > JAVA_HOME=3D** > > PATH=3D"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr= /games:$JAVA_HOME/bin" > > Please put the actual path to JDK in the first line. > > Regards, > Ravindra > > > On Wed, Apr 1, 2015 at 5:50 PM, roland.depratti > wrote: > > Anand, > > Sorry about that, I was assuming Redhat/Centos. > > For Ubuntu, try sudo update-alternatives --config java. > > > > Sent from my Verizon Wireless 4G LTE smartphone > > > -------- Original message -------- > From: Anand Murali > Date: 04/01/2015 7:22 AM (GMT-05:00) > To: user@hadoop.apache.org > Subject: Re: Hadoop 2.6 issue > > Dear Mr.Roland: > > The alternatives command errors out. I have the extracted version of the > Oracle JDK7. However I am ignorant regarding its installation on Ubuntu. > Can you point me to installation material so that I can look up and try. > > Thanks > > Regards, > > Anand Murali > 11/7, 'Anand Vihar', Kandasamy St, Mylapore > Chennai - 600 004, India > Ph: (044)- 28474593/ 43526162 (voicemail) > > > > On Wednesday, April 1, 2015 4:33 PM, Roland DePratti < > roland.depratti@cox.net> wrote: > > > Anand, > > My guess is that your alternatives setup isn=E2=80=99t complete. > > At a prompt, as su, run the command =E2=80=98alternatives - - config java= =E2=80=99. Make > sure that the oracle version is listed and is marked as the active one. > > If it is not, go through the steps to make sure it is. > > - rd > > *From:* Anand Murali [mailto:anand_vihar@yahoo.com] > *Sent:* Wednesday, April 01, 2015 5:42 AM > *To:* user@hadoop.apache.org > *Subject:* Re: Hadoop 2.6 issue > > I continue to get the samede error.I > > export JAVA_HOME=3D/home/anand_vihar/jdk1.0.7_u75 (in hadoop-env.sh) > > > when I echo $JAVA_HOME it shows me the above path but when I $java > -version, it gives me openjdk version > > start-dfs.sh ....... errors out saying JAVA_HOME not set., but echo shows > JAVA_HOME. Strange !! > > > Regards, > > Anand Murali > 11/7, 'Anand Vihar', Kandasamy St, Mylapore > Chennai - 600 004, India > Ph: (044)- 28474593/ 43526162 (voicemail) > > > > > > > > > --001a114797a0ceb2bf0512a9c72f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Are you sure that its not there, could you please check th= e output of this command

ls /etc/env*



On Wed, Apr 1, 2015 at 6:55 PM= , Anand Murali <anand_vihar@yahoo.com> wrote:
Mr. Ravindra:

I am using Ubuntu 14. Can you please provide the full path. I am logge= d in as root and it is not found in /etc. In any case what you have suggest= ed I have tried creating a batch file and it does not work in my installati= on.

Thank= s


=C2=A0
Anand Mura= li=C2=A0=C2=A0
11/7, 'Anand Vihar', Kandasam= y St, Mylapore
Chennai - 600 004, India
=
Ph: (044)- 28474593/=C2=A043526162 (voicemail)



On Wednesday, April 1, = 2015 6:50 PM, Ravindra Kumar Naik <ravin.iitb@gmail.com> wrote:
=

I meant /etc/environme= nt. It should be present if you are using Ubuntu.

Regards,
Ravindra

On Wed, Apr 1, 2015 at 6:39 PM, = Anand Murali <anand_vihar@yahoo.com> wrote:
Mr. Ravindra

I dont find = any etc/environment. Can you be more specific please. I have done whatever = you are saying in a user created batch program and run it, followed by runn= ing hadoop-env.sh and it still does not work.

Thanks
=C2=A0
Anand Murali=C2=A0=C2=A0
11/7, 'Anand Vihar&= #39;, Kandasamy St, Mylapore
Chennai - 600 004, Indi= a
Ph: (044)- 28474593/=C2=A043526162 (voicemail)



On Wednesday, April 1, 2015 6:10 PM, Ravindra Kumar Naik &l= t;ravin.iitb@gmail.com> wrote:


Hi,

If y= ou are using Ubuntu then add these lines to /etc/environment
JAVA_HOME=3D<actual path to jdk>
PATH= =3D"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/= games:$JAVA_HOME/bin"

= Please put the actual path to JDK in the first line.

Regards,
Ravindra

<= br clear=3D"none">
On Wed, Apr 1, 2015 at 5:50 PM, roland.depratti <roland.depratti@cox.net> = wrote:
=20
Anand,

Sorry about that, I was= assuming Redhat/Centos.

For Ubuntu= , try sudo update-alternatives --config java.

=


Sent from my Verizon Wireless 4G LTE= smartphone


----= ---- Original message --------
From: Anand Murali <anand_vihar@yahoo.com>
Date: 04/01/2= 015 7:22 AM (GMT-05:00)
To: user@had= oop.apache.org
Subject: Re: Hadoop 2.6 issue

Dear Mr.Roland:

The alternatives command errors out. I have the ext= racted version of the Oracle JDK7. However I am ignorant regarding its inst= allation on Ubuntu. Can you point me to installation material so that I can= look up and try.

Thanks

Regards,
=C2=A0
Anand Murali=C2=A0=C2=A0
=
11/7, 'Anand Vihar', Kandasamy St, Mylapore
=
Chennai - 600 004, India
Ph: (044)- 28474= 593/=C2=A043526162 (voicemail)

=

<= div style=3D"font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucid= a Grande,sans-serif;font-size:12px">
=
On Wednesday, April 1, 2015 4:33 PM= , Roland DePratti <roland.depratti@cox.net> wro= te:


Anand,<= /div>
=C2=A0
My guess is that your alternatives setup isn=E2= =80=99t complete.
=C2=A0=
At a prompt, as su, run = the command =E2=80=98alternatives - - config java=E2=80=99. Make sure that = the oracle version is listed and is marked as the active one.
=
=C2=A0
If it is not, go through the steps to make sure it is= .
=C2=A0
-=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rd
=C2=A0
From: Anand Murali [= mailto:anand_vihar@yahoo.com]
Sen= t: Wednesday, April 01, 2015 5:42 AM
To: user@hadoop.apache.org
Subject: Re= : Hadoop 2.6 issue
=C2=A0
I continue to g= et the samede error.I
=C2=A0
export JAVA_HOME=3D/h= ome/anand_vihar/jdk1.0.7_u75 (in hadoop-env.sh)
=C2=A0<= /div>
=C2=A0
when I echo $JAVA_HOME it shows me the above path = but when I $java -version, it gives me openjdk version
=C2=A0<= /span>
start-dfs.sh ....... errors out saying JAVA_HOME not set., but = echo shows JAVA_HOME. Strange !!
=C2=A0
=C2=A0
Regards,
<= span style=3D"font-size:9.0pt">=C2=A0
Anand Murali=C2=A0= =C2=A0
11/7, 'Anand= Vihar', Kandasamy St, Mylapore<= /span>
Chennai - 600 004, India
Ph: (044)- 28474593/=C2=A043526162 (voicemail)
=C2=A0







--001a114797a0ceb2bf0512a9c72f--