On Wed, May 23, 2007 at 02:50:20PM -0700, Avinash Lakshman wrote: >I want to setup Hadoop to run on a cluster of 3 nodes. Here is the setup of >my hadoop-site.xml file : > ><configuration> > <property> > <name>fs.default.name</name> > <value>hdfs:///</value> > </property>
Fix fs.default.name's value to <host>:<port> similar to your mapre.job.tracker and give it a try... Arun > > <property> > <name>dfs.secondary.info.port</name> > <value>10000</value> > </property> > > <property> > <name>mapred.job.tracker</name> > <value>dev030.sctm.facebook.com:9001</value> > </property> > > <property> > <name>dfs.replication</name> > <value>1</value> > </property> > ></configuration> > >However whenever I start my DFS I get the following error : > >dev030.sctm.facebook.com: starting secondarynamenode, logging to >/home/alakshman/hadoop-0.12.3/bin/../logs/hadoop-alakshman-secondarynamenode >-dev030.sctm.facebook.com.out >dev030.sctm.facebook.com: Exception in thread "main" >java.lang.IllegalArgumentException: port out of range:-1 >dev030.sctm.facebook.com: at >java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) >dev030.sctm.facebook.com: at >org.apache.hadoop.dfs.DataNode.createSocketAddr(DataNode.java:106) >dev030.sctm.facebook.com: at >org.apache.hadoop.dfs.SecondaryNameNode.<init>(SecondaryNameNode.java:93) >dev030.sctm.facebook.com: at >org.apache.hadoop.dfs.SecondaryNameNode.main(SecondaryNameNode.java:474) > >How do I fix this ? Please advice. > >Thanks >A >
