Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 6550417CD0 for ; Wed, 1 Apr 2015 14:14:54 +0000 (UTC) Received: (qmail 57466 invoked by uid 500); 1 Apr 2015 14:14:49 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 57331 invoked by uid 500); 1 Apr 2015 14:14: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 57321 invoked by uid 99); 1 Apr 2015 14:14:48 -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 14:14:48 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anand_vihar@yahoo.com designates 98.136.217.23 as permitted sender) Received: from [98.136.217.23] (HELO nm40.bullet.mail.gq1.yahoo.com) (98.136.217.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 14:14:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1427897472; bh=eDBwiX+V1mnH+a662se8m6N0d0sfDnmj/RUrbp9VeYo=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=D+hzArOeG5rdUo65sBrBE4rX0nBcEqafsKqhFcMFoL9dA/HlNzAze7mRu3Lqf7dKD2eTFUhT6WSCw/V0GzWkCVPwjICBAvMODB91qsjNuq+CPEyfr1r6aAyzSIMlITDe2O+XBAF28+8lbiFJm8CApLAe1w08fpevJ5VNAFYmMIYlAb4Ye5YbTlY1ixCqYut44U0dkHyjgchOfrHyzNPsppJakb5l1HpagY2D2X8Q4P3rEzNH65DQ7ik7pmQKKuQKImZteLn1D8l/2AFvChJaWbl7MsXWCwcTQk6WUFZX6amF0IITEyT3eOFlOlhpYLD+hjGkFiqKbziLKP3Y4WR88w== Received: from [127.0.0.1] by nm40.bullet.mail.gq1.yahoo.com with NNFMP; 01 Apr 2015 14:11:12 -0000 Received: from [98.137.12.58] by nm40.bullet.mail.gq1.yahoo.com with NNFMP; 01 Apr 2015 14:08:04 -0000 Received: from [98.139.214.32] by tm3.bullet.mail.gq1.yahoo.com with NNFMP; 01 Apr 2015 14:08:04 -0000 Received: from [98.139.212.205] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 01 Apr 2015 14:08:04 -0000 Received: from [127.0.0.1] by omp1014.mail.bf1.yahoo.com with NNFMP; 01 Apr 2015 14:08:03 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 997101.87454.bm@omp1014.mail.bf1.yahoo.com X-YMail-OSG: 69WCvmsVM1k5JoeSH1.YYOcXxrm4UFLdPi.xfcGDIDmla2XiR8htGS1uJnNab1t 0z7YQJG943GJCXT.urmirqsowBEkIScz0g5qFFjew1dh8Q56p7Gnx3NONlSwY3GY.EGZo7dJQ1i6 _9Bb0x1S7q1R7Oo__VqVxj8LTq3Ye4IfpNPRAFkNZFCRBhIn37_58ucPLltEDGI_w2M1qHL271iC K5jBrK_vGPcSQdCMCzF5zh_O_L35d8ibsSTSEQhw_kOgl7nFigKfLrlXeU59ohwgR2CLDbld_teB qev08EVVVAQCbJqJcHLPHqw2L0H090jzpmZ3KRSt2MuuxGCos.egBsDpP9pkg_HdOYjjDFZAmFQZ ANAniGU_cjCZs0LyIVnXp54CvZ4366zp6y7h08uihQGBQnH1quhk5PwXTymhDvevGtERRPtMOaUM dCzwGdV5w6IZmB.I9cpXSZuS7NJrSsPwx5gReKVp27FIfONGFeYx.eO8JVMgb_vYYOPE3lcvnyN8 d0HxCNhwg9D2C4Aj7MwppgXYN2w.SZMH9kddXhIs15Ee.6.BMZH0Gbz9gVjYbq4C1Cs41ahUzuWI SAARWzXdsQ14Op9RlvJWc8P5DMRPd_8poKlIqYMulwvc6UFCuRA-- Received: by 66.196.80.119; Wed, 01 Apr 2015 14:08:03 +0000 Date: Wed, 1 Apr 2015 14:08:03 +0000 (UTC) From: Anand Murali Reply-To: Anand Murali To: "user@hadoop.apache.org" Message-ID: <2008641998.3548508.1427897283051.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: Subject: Re: Hadoop 2.6 issue MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3548507_517286043.1427897283029" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3548507_517286043.1427897283029 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mr. Ravindra: This is visible, however I am unable to modify it, eventhough I have admin = priveleges. I am new to the Linux environment. Shall be glad if you did adv= ise. However, as I told you earlier, I have created a batch program which c= ontains, JAVA_HOME setting, HADOOP_INSTALL setting and PATH setting. I have= rfun this file but I am still unable to start the daemons. I am following = Tom Whyte's -Hadoop definitive Guide book instructions on how to install Ha= doop. at $hadoop version works. I am able to format namenode, but fail to start d= aemons. Reply most welcome. Thanks =C2=A0Anand Murali=C2=A0=C2=A011/7, 'Anand Vihar', Kandasamy St, MylaporeCh= ennai - 600 004, IndiaPh: (044)- 28474593/=C2=A043526162 (voicemail)=20 On Wednesday, April 1, 2015 7:04 PM, Ravindra Kumar Naik wrote: =20 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 in = 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 =C2=A0Anand Murali=C2=A0=C2=A011/7, 'Anand Vihar', Kandasamy St, MylaporeCh= ennai - 600 004, IndiaPh: (044)- 28474593/=C2=A043526162 (voicemail)=20 On Wednesday, April 1, 2015 6:50 PM, Ravindra Kumar Naik wrote: =20 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=20 I dont find any etc/environment. Can you be more specific please. I have do= ne whatever you are saying in a user created batch program and run it, foll= owed by running hadoop-env.sh and it still does not work. Thanks =C2=A0Anand Murali=C2=A0=C2=A011/7, 'Anand Vihar', Kandasamy St, MylaporeCh= ennai - 600 004, IndiaPh: (044)- 28474593/=C2=A043526162 (voicemail)=20 On Wednesday, April 1, 2015 6:10 PM, Ravindra Kumar Naik wrote: =20 Hi, If you are using Ubuntu then add these lines to /etc/environment=20 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 w= rote: 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 =20 Date: 04/01/2015 7:22 AM (GMT-05:00)=20 To: user@hadoop.apache.org=20 Subject: Re: Hadoop 2.6 issue=20 Dear Mr.Roland: The alternatives command errors out. I have the extracted version of the Or= acle 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, =C2=A0Anand Murali=C2=A0=C2=A011/7, 'Anand Vihar', Kandasamy St, MylaporeCh= ennai - 600 004, IndiaPh: (044)- 28474593/=C2=A043526162 (voicemail)=20 On Wednesday, April 1, 2015 4:33 PM, Roland DePratti wrote: =20 Anand, =C2=A0My guess is that your alternatives setup isn=E2=80=99t comple= te. =C2=A0At a prompt, as su, run the command =E2=80=98alternatives - - con= fig java=E2=80=99. Make sure that the oracle version is listed and is marke= d as the active one. =C2=A0If 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=A0From: Anand Murali [mailto:anand_vihar@yahoo.com]=20 Sent: Wednesday, April 01, 2015 5:42 AM To: user@hadoop.apache.org Subject: Re: Hadoop 2.6 issue =C2=A0I continue to get the samede error.I = =C2=A0export JAVA_HOME=3D/home/anand_vihar/jdk1.0.7_u75 (in hadoop-env.sh) = =C2=A0 =C2=A0when I echo $JAVA_HOME it shows me the above path but when I $= java -version, it gives me openjdk version =C2=A0start-dfs.sh ....... error= s out saying JAVA_HOME not set., but echo shows JAVA_HOME. Strange !! =C2= =A0 =C2=A0Regards,=C2=A0Anand Murali=C2=A0=C2=A011/7, 'Anand Vihar', Kandas= amy St, MylaporeChennai - 600 004, IndiaPh: (044)- 28474593/=C2=A043526162 = (voicemail) =C2=A0 =20 =20 ------=_Part_3548507_517286043.1427897283029 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Mr. Ravindra:

This is visible, however I am unable t= o modify it, eventhough I have admin priveleges. I am new to the Linux envi= ronment. Shall be glad if you did advise. However, as I told you earlier, I= have created a batch program which contains, JAVA_HOME setting, HADOOP_INS= TALL setting and PATH setting. I have rfun this file but I am still unable = to start the daemons. I am following Tom Whyte's -Hadoop definitive Guide b= ook instructions on how to install Hadoop.

at $hadoop version works. I am able to format namenode,= but fail to start daemons.

Reply most welcome.

T= hanks
 
Anand Murali  = ;
11/7, 'Anand Vihar', Kandasamy St, M= ylapore
Chennai - 600 004, India
Ph: (044)- 28474593/ 43526162 (voicema= il)



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


=
Are you sure that its not there, could you please che= ck the 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:

<= /div>
I am using Ubuntu 14. Can you please provide the full= path. I am logged in 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 V= ihar', Kandasamy St, Mylapore
Chennai - 600 004, Ind= ia
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 y= ou 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 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 (v= oicemail)


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


Hi,

If you are u= sing Ubuntu then add these lines to /etc/environment
JAV= A_HOME=3D<actual path to jdk>
PATH=3D"/usr/l= ocal/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$JAVA_HOM= E/bin"

Please put the actua= l path to JDK in the first line.

Regards,
Ravindra


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 LT= E smartphone


---= ----- Original message --------
From: Anand Murali <anand_vihar@yahoo.co= m>
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 rega= rding its installation on Ubuntu. Can you point me to installation material= so that I can look up and try.

Thanks

=
Regards,
<= div> 
Anand Murali  <= /font>
11/7, 'Anand Vihar', Kandasamy St, Mylapore
Chennai - 600 004, India
Ph: (044)- 2= 8474593/ 43526162 (voicemail)

<= div>

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


Anand,
 
My guess is that your alternatives setup isn=E2=80=99t comple= te.
 
=
At a prompt, as su, run the command = =E2=80=98alternatives - - config java=E2=80=99. Make sure that the oracle v= ersion is listed and is marked as the active one.
 
If it is not, go through the steps to make sure it is.
 
-  &n= bsp;       rd
 
From: Anand Murali [m= ailto:anand_vihar@= yahoo.com]
Sent: Wednesday, April 01, 2015 5:= 42 AM
To: user@hadoop.apache.org
Subject:= Re: Hadoop 2.6 issue
 
I cont= inue to get the samede error.I
 
export J= AVA_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 J= AVA_HOME not set., but echo shows JAVA_HOME. Strange !!
<= div>
&nbs= p;
 
Regards,
 =
Anand Murali  
11/7, 'Anand Vihar', Kandasamy St, Mylapore
Chennai - 600 004, India<= span style=3D"font-size:9.0pt;">
Ph: (044)- 28474593/ 4= 3526162 (voicemail)
=  

=






=

------=_Part_3548507_517286043.1427897283029--