hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From German Florez-Larrahondo <german...@samsung.com>
Subject RE: JAVA cannot execute binary file
Date Tue, 07 Jan 2014 21:58:50 GMT
This could be because you are trying to run the incorrect version of java
for your platform

 

What do you see when you do the following

 

 

ubuntu@---:~$ file `which java`

/home/ubuntu/GERMAN/WORKLOADS/java/jdk1.7.0_25/bin//java: ELF 64-bit LSB
executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs),
for GNU/Linux 2.6.9,
BuildID[sha1]=0x47f558a5fd950bfecb09a1c6d692967d949796d7, not stripped

 

 

From: navaz [mailto:navaz.enc@gmail.com] 
Sent: Tuesday, January 07, 2014 2:12 PM
To: user
Subject: JAVA cannot execute binary file

 

Hi

 

I am following the hadoop document.


https://www.dropbox.com/s/05aurcp42asuktp/Chiu%20Hadoop%20Pig%20Install%20In
structions.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