Ok. Many thanks I shall try.
 Anand Murali  11/7, 'Anand Vihar', Kandasamy St, MylaporeChennai - 600 004, 
IndiaPh: (044)- 28474593/ 43526162 (voicemail) 

     On Monday, November 24, 2014 6:13 PM, Rohith Sharma K S 
<[email protected]> wrote:
   

 #yiv5050221874 #yiv5050221874 -- _filtered #yiv5050221874 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv5050221874 
{font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv5050221874 
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv5050221874 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv5050221874 
{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv5050221874 
{panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv5050221874 #yiv5050221874 
p.yiv5050221874MsoNormal, #yiv5050221874 li.yiv5050221874MsoNormal, 
#yiv5050221874 div.yiv5050221874MsoNormal 
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv5050221874 a:link, 
#yiv5050221874 span.yiv5050221874MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv5050221874 a:visited, #yiv5050221874 
span.yiv5050221874MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv5050221874 
span.yiv5050221874EmailStyle17 {color:#1F497D;}#yiv5050221874 
.yiv5050221874MsoChpDefault {font-size:10.0pt;} _filtered #yiv5050221874 
{margin:72.0pt 72.0pt 72.0pt 72.0pt;}#yiv5050221874 
div.yiv5050221874WordSection1 {}#yiv5050221874 The problem is with setting 
JAVA_HOME. There is .(Dot) before /usr which cause append current directory. 
export JAVA_HOME=./usr/lib64/jdk1.7.0_71/jdk7u71    Do not use .(Dot) before 
/usr.    Thanks & Regards Rohith Sharma K S    This e-mail and its attachments 
contain confidential information from HUAWEI, which is intended only for the 
person or entity whose address is listed above. Any use of the information 
contained herein in any way (including, but not limited to, total or partial 
disclosure, reproduction, or dissemination) by persons other than the intended 
recipient(s) is prohibited. If you receive this e-mail in error, please notify 
the sender by phone or email immediately and delete it!    From: Anand Murali 
[mailto:[email protected]]
Sent: 24 November 2014 17:44
To: [email protected]; [email protected]
Subject: Hadoop Installation Path problem    Hi All: 

 I have done the follwoing in hadoop-env.sh    export 
JAVA_HOME=./usr/lib64/jdk1.7.0_71/jdk7u71
export HADOOP_HOME=/home/anand_vihar/hadoop
export PATH=:$PATH:$JAVA_HOME:$HADOOP_HOME/bin:$HADOOP_HOME/sbin    Now when I 
run hadoop-env.sh and type hadoop version, I get this error.    
/home/anand_vihar/hadoop/bin/hadoop: line 133: 
/home/anand_vihar/hadoop/etc/hadoop/usr/lib64/jdk1.7.0_71/jdk7u71/bin/java: No 
such file or directory
/home/anand_vihar/hadoop/bin/hadoop: line 133: exec: 
/home/anand_vihar/hadoop/etc/hadoop/usr/lib64/jdk1.7.0_71/jdk7u71/bin/java: 
cannot execute: No such file or directory 

 Can somebody advise. I have asked this to many people, they all say the 
obvious path problem, but where I cannot debug. This has become a show stopper 
for me. Help most welcome.    Thanks    Regards

   Anand Murali   11/7, 'Anand Vihar', Kandasamy St, Mylapore Chennai - 600 
004, India Ph: (044)- 28474593/ 43526162 (voicemail) 

   

Reply via email to