hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From navaz <navaz....@gmail.com>
Subject JAVA cannot execute binary file
Date Tue, 07 Jan 2014 20:12:06 GMT
Hi

I am following the hadoop document.
https://www.dropbox.com/s/05aurcp42asuktp/Chiu%20Hadoop%20Pig%20Install%20Instructions.docx
Installed JDK7.

VM:
====

hduser@base:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 13.04
Release:        13.04
Codename:       raring
hduser@base:~$

But I am getting the below error message.

hduser@base:~$ java -version
-su: /usr/bin/java: cannot execute binary file
hduser@base:~$


hduser@base:~$ /usr/local/hadoop/bin/hadoop namenode -format
/usr/local/hadoop/bin/hadoop: line 320: /usr/lib/jvm/jdk1.7.0//bin/java:
cannot execute binary file
/usr/local/hadoop/bin/hadoop: line 390: /usr/lib/jvm/jdk1.7.0//bin/java:
cannot execute binary file
/usr/local/hadoop/bin/hadoop: line 390: /usr/lib/jvm/jdk1.7.0//bin/java:
Success
hduser@base:~$
hduser@base:~$


Could you please help me in this.

Thanks & Regrads
*Abdul Navaz*

Mime
View raw message