hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rutesh <rutesh.cha...@gmail.com>
Subject Datanode not created on hadoop-0.20.203.0
Date Wed, 15 Jun 2011 16:53:18 GMT
Hi,

   I am new to hadoop (Just 1 month old). These are the steps I followed to
install and run hadoop-0.20.203.0:

1) Downloaded tar file from
http://mirrors.axint.net/apache/hadoop/common/hadoop-0.20.203.0/hadoop-0.20.203.0rc1.tar.gz.
2) Untarred it in /usr/local/ .
3) Set JAVA_HOME=/usr/lib/jvm/java-6-sun (which has already been installed)
4) Modified the config files viz. core-site.xml , hdfs-site.xml and
mapred-site.xml as provided on the single node installation page [
http://hadoop.apache.org/common/docs/r0.20.203.0/single_node_setup.html#PseudoDistributed].
5) Formatted the new distributed-filesystem using bin/hadoop namenode
-format
6) Started the hdfs daemon using bin/start-dfs.sh

Now, here is the error...

# start-dfs.sh
starting namenode, logging to
/usr/local/hadoop/bin/../logs/hadoop-root-namenode-ip-10-98-94-62.out
localhost: starting datanode, logging to
/usr/local/hadoop/bin/../logs/hadoop-root-datanode-ip-10-98-94-62.out
localhost: starting secondarynamenode, logging to
/usr/local/hadoop/bin/../logs/hadoop-root-secondarynamenode-ip-10-98-94-62.out

The terminal says that datanode has been started, but when I run jps
command, its shows different.

# jps
395 Jps
32612 SecondaryNameNode
32442 NameNode

And in the /usr/local/hadoop/logs/hadoop-root-datanode-ip-10-98-94-62.out
this is the log:

Unrecognized option: -jvm
Could not create the Java virtual machine.

My question is, can anybody tell me what is the error or what am I doing
wrong, or in general, how I can make my datanode run?

Thanks.

With regards,
Rutesh Chavda

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message