Hi,I am trying to set up a Hadoop claster. I have a server machine, and
I installed XenServer on it. I installed 3 Debian Lenny VMs on the XenServer.
And on every VM, I installed sun-java6-jre, openssh-server, rsync and hadoop.
VM jack is the namenode, VM kim and VM lynne are datanodes. Everything was cool
until I run bin/start-all.sh. I attached three configuration files and the
hadoop-cs-namenode-jack.log file who printed a lot errors.
Two important errors are:java.lang.IllegalArgumentException:
Duplicate metricsName:getProtocolVersionjava.io.IOException:
File /home/cs/HadoopInstall/tmp/mapred/system/jobtracker.info could only
be replicated to 0 nodes, instead of 1
Thanks.Dennis
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value>/home/cs/HadoopInstall/tmp</value>
<description>A base for other temporary directories.</description>
</property>
<property>
<name>fs.default.name</name>
<value>hdfs://jack:9000</value>
<description>The name of the default file system. Either the literal string "local" or a host:port for DFS.</description>
</property>
<property>
<name>dfs.name.dir</name>
<value>/home/cr/HadoopInstall/filesystem/name</value>
<description>Determines where on the local filesystem the DFS name node should store the name table. If this is a comma-delimited list of directories then the name table is replicated in all of the directories, for redundancy. </description>
</property>
<property>
<name>dfs.data.dir</name>
<value>/home/cr/HadoopInstall/filesystem/data</value>
<description>Determines where on the local filesystem an DFS data node should store its blocks. If this is a comma-delimited list of directories, then data will be stored in all named directories, typically on different devices. Directories that do not exist are ignored.</description>
</property>
</configuration>
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
<description>Default block replication. The actual number of replications can be specified when the file is created. The default is used if replication is not specified in create time.</description>
</property>
</configuration>
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>hdfs://jack:9001</value>
<description>The host and port that the MapReduce job tracker runs at. If "local", then jobs are run in-process as a single map and reduce task.</description>
</property>
</configuration>