Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Anytime I am running hadoop/hbase process from a command prompt I get an error:

/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

I get the same kind of error when I start hbase.

java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)

Could you please tell me what could cause the issue? Thank you

share|improve this question
add comment

1 Answer

Maybe an incompatibility with your java version.

Try to follow http://wiki.apache.org/hadoop/HadoopJavaVersions recommendations and get the right java versions installed.

share|improve this answer
    
I will look into it. Thank you –  Vladimir Oct 25 '12 at 20:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.