Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 70635178F6 for ; Wed, 1 Apr 2015 12:40:14 +0000 (UTC) Received: (qmail 80556 invoked by uid 500); 1 Apr 2015 12:40:09 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 80432 invoked by uid 500); 1 Apr 2015 12:40:09 -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 80422 invoked by uid 99); 1 Apr 2015 12:40:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 12:40:08 +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 (nike.apache.org: domain of ravin.iitb@gmail.com designates 209.85.192.48 as permitted sender) Received: from [209.85.192.48] (HELO mail-qg0-f48.google.com) (209.85.192.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 12:39:43 +0000 Received: by qgep97 with SMTP id p97so40675704qge.1 for ; Wed, 01 Apr 2015 05:38:11 -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=Up1DvyJMemX2rxw/iwhU533spnaUcnMuSSF9mJ7nMLQ=; b=NVcA9GCsdmEQLrSI3wLTVXlzDJ6IBCYJZGiq3E3IQUK/5JwWOIi+ARgkauTuszobXR IKKH63xqgquiMhJXr0h0dHC9X2DJRGLIFltGMx2qj/4oCVBpf7viuTFQLN2SwFmOB1/H OwyeMhr5YR0PglXcpnOzYn+oo+tGjE5GlZgJFv8DkIAivS//IymXzETlGUHDl7JWWK1g ksteZW2qTBuElGgdTepIwz2rxcacMphGvJ9IbbKMI9EMGvgv9K12A6FvajwCvE037Thu h4dhqcWbeYPIdJfSAgb4r2ixmu9ICAHnqgOBdUknd1ZHIBXU50Yqjwea35D3CpMfaZeM mZoA== MIME-Version: 1.0 X-Received: by 10.140.201.205 with SMTP id w196mr49935124qha.43.1427891891255; Wed, 01 Apr 2015 05:38:11 -0700 (PDT) Received: by 10.229.119.201 with HTTP; Wed, 1 Apr 2015 05:38:11 -0700 (PDT) In-Reply-To: <1q9kgjrny2eakp8du0akorba.1427890802021@email.android.com> References: <1q9kgjrny2eakp8du0akorba.1427890802021@email.android.com> Date: Wed, 1 Apr 2015 18:08:11 +0530 Message-ID: Subject: Re: Hadoop 2.6 issue From: Ravindra Kumar Naik To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11425cd2f4c6b30512a8fc73 X-Virus-Checked: Checked by ClamAV on apache.org --001a11425cd2f4c6b30512a8fc73 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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/g= ames:$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) > > --001a11425cd2f4c6b30512a8fc73 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

If you are using Ubuntu th= en add these lines to /etc/environment
JAVA_HOME=3D<actual path t= o jdk>
PATH=3D"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr= /bin:/sbin:/bin:/usr/games:$JAVA_HOME/bin"

Please pu= t the actual path to JDK in the first line.

Regards= ,
Ravindra


On Wed, Apr 1, 2015 at 5:50 PM, rolan= d.depratti <roland.depratti@cox.net> wrote:
=20
Anand,

Sorry about that, I was assuming Redha= t/Centos.

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



Sent from my Verizon Wireless 4G LTE= smartphone


-------- Original mes= sage --------
From: Anand Murali <anand_vihar@yahoo.com>
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 alternati= ves command errors out. I have the extracted version of the Oracle JDK7. Ho= wever 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,
=C2=A0
=
Anand Murali=C2=A0=C2=A0
11/7, 'Anand Vihar', Kandasamy St, Mylapore
Chennai - 600 004, India
Ph: (044)- 28474593/=C2= =A043526162 (voicemail)



On Wednesday= , April 1, 2015 4:33 PM, Roland DePratti <roland.depratti@cox.net> wrote:
<= /font>


Anand,
=C2=A0
My guess is that your altern= atives 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 activ= e 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]
Sent: Wedn= esday, April 01, 2015 5:42 AM
To: user@hadoop.apache.org
Subject: Re: Hadoop 2.6 issue
=
=C2=A0
I continue to get the samede error.I
=C2=A0
export JAVA_HOME=3D/home/anand_vihar/jdk1.0.7_u75 (in hadoop-env= .sh)
=C2=A0
=C2=A0
when I echo $JAVA_= HOME it shows me the above path but when I $java -version, it gives me open= jdk version
=C2=A0
start-dfs.sh ....... errors out= saying JAVA_HOME not set., but echo shows JAVA_HOME. Strange !!
=C2=A0
=C2=A0
Regards,
<= div style=3D"background:white">=C2=A0
Anand Murali=C2=A0=C2=A0
11/7, 'Anand Vihar', Kandasamy St, Mylapore
Chennai - 600 004, India=
Ph: (044)- 28474593/=C2=A0435= 26162 (voicemail)
=
=C2= =A0
<= /div>

--001a11425cd2f4c6b30512a8fc73--