On Sun, Oct 12, 2008 at 1:44 AM, Amit k. Saha <[EMAIL PROTECTED]> wrote: > On Sun, Oct 12, 2008 at 12:15 AM, Amit k. Saha <[EMAIL PROTECTED]> wrote: >> Hi! >> >> I am setting up a Hadoop cluster for 'domestic' purpose to play >> around. I have 3 nodes- Namenode, Job tracker and a task tracker. >> (10.10.10.1, 10.10.10.2, 10.10.10.3) >> >> My Namenode and Job tracker is set up successfully as I can view the >> web administration panel. >> >> However, though my job tracker shows: >> >> 10.10.10.3: starting tasktracker, logging to >> /home/amit/hadoop/hadoop-0.17.2.1/bin/../logs/hadoop-amit-tasktracker-lenny-2.out >> >> there is no task tracker process running on 10.10.10.3 and hence the >> number of "Live Nodes" seem to be 0. >> >> I have kept the hadoop-site.xml file on my task tracker empty. I am >> not sure what to fill in there. >> >> Is that the reason there is no task tracker process running? > > Well, i figured out that I need to fill in information regarding the > "dfs.datanode.*" in hadoop-site.xml. So, here is the file: > > <?xml version="1.0"?> > <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> > > <!-- Put site-specific property overrides in this file. --> > > > <configuration> > > <property> > > <name>dfs.datanode.address</name> > > <value>10.10.10.3:50090</value> > > </property> > > <property> > > <name>dfs.datanode.http.address</name> > > <value>10.10.10.3:50075</value> > > </property> > > > > <property> > <name>dfs.replication</name> > <value>1</value> > </property> > > </configuration> > > The log says: "2008-10-12 01:16:26,960 ERROR > org.apache.hadoop.mapred.TaskTracker: Can not start task tracker > because java.lang.RuntimeException: Not a host:port pair: local > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:121) > at org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:768) > at org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:799) > at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2266) > > 2008-10-12 01:16:26,970 INFO org.apache.hadoop.mapred.TaskTracker: > SHUTDOWN_MSG: > " > > What is going wrong? > > Help appreciated!
I have solved the problem. Some observations in a later mail :-) Best, Amit -- Amit Kumar Saha http://blogs.sun.com/amitsaha/ http://amitsaha.in.googlepages.com/ Skype: amitkumarsaha
