Sorry file name should be mapred-site.xml. If it doesnt exist, You can create one and add the property as defined in below.
Also in old version, Configuration can be defined in hadoop-site.xml, which is deprecated in hadoop-0.20. If you have already configured in hadoop-site.xml, Just make sure the following entry is in the right format <HOST>:<PORT> <configuration> <property> <name>mapred.job.tracker</name> <value>HOST:PAIR</value> </property> </configuration> Wiki to hadoop cluster setup. http://hadoop.apache.org/common/docs/r0.20.2/cluster_setup.html Thanks, Charan On Mon, Jan 24, 2011 at 12:00 PM, McGibbney, Lewis John < lewis.mcgibb...@gcu.ac.uk> wrote: > Hi Charan > > I have not touched mapred-config.xml and don't appear to have this file in > my conf directory within 1.2 dist! > > ________________________________________ > From: Charan K [charan.ku...@gmail.com] > Sent: 24 January 2011 17:49 > To: user@nutch.apache.org > Subject: Re: Hadoop Tutorial > > Hi > Can you verify if you set the job tracker entry in right format in > mapred-config.xml? > > Thanks, > Charan > > Sent from my iPhone > > On Jan 24, 2011, at 9:42 AM, "McGibbney, Lewis John" < > lewis.mcgibb...@gcu.ac.uk> wrote: > > > Hi list, > > > > I am using Nutch 1.2 and currently working my way through the Nutch and > Hadoop tutorial on the wiki for the first time. Not having much luck to date > and have reached the following part "So log into the master nodes and all of > the slave nodes as root." which I do not understand. Under > /logs/hadoop-...-jobtracker-...log I get the following > > > > > > 2011-01-24 16:55:08,008 ERROR mapred.JobTracker - > java.lang.RuntimeException: Not a host:port pair: local > > > > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:136) > > > > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:123) > > > > at org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:1807) > > > > at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1579) > > > > at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:183) > > > > at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:175) > > > > at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:3702) > > > > 2011-01-24 16:57:01,233 ERROR mapred.JobTracker - > java.lang.RuntimeException: Not a host:port pair: local > > > > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:136) > > > > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:123) > > > > at org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:1807) > > > > at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1579) > > > > at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:183) > > > > at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:175) > > > > at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:3702) > > > > > > > > I am pretty much stuck here so any help would be appreciated. Please > state whether I need to provide more information if this is not sufficient. > > > > > > > > Thanks > > > > Lewis > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > > > Winner: Times Higher Education's Widening Participation Initiative of the > Year 2009 and Herald Society's Education Initiative of the Year 2009 > > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > Email has been scanned for viruses by Altman Technologies' email management > service - www.altman.co.uk/emailsystems > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education’s Widening Participation Initiative of the > Year 2009 and Herald Society’s Education Initiative of the Year 2009 > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >