Hi abhishek,
Have you successfully installed java virtual machine like sun JDK before running Hadoop? Or maybe you forget to configure the environment variable JAVA_HOME? What is the output of the command 'java -version'?
Regards
Hailong
***********************************************
* Hailong Yang, PhD. Candidate
* Sino-German Joint Software Institute,
* School of Computer Science&Engineering, Beihang University
* Phone: (86-010)82315908
* Email: hailong.yang1115@gmail.com
* Address: G413, New Main Building in Beihang University,
* No.37 XueYuan Road,HaiDian District,
* Beijing,P.R.China,100191
***********************************************
From: abhishek sharma
Date: 2011-09-02 03:51
To: common-user; common-dev
Subject: Namenode not starting
Hi all,
I am trying to install Hadoop (release 0.20.203) on a machine with CentOS.
When I try to start HDFS, I get the following error.
<machine-name>: Unrecognized option: -jvm
<machine-name>: Could not create the Java virtual machine.
Any idea what might be the problem?
Thanks,
Abhishek