hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psdc1978 <psdc1...@gmail.com>
Subject Not a host:port pair: local
Date Fri, 21 May 2010 08:08:06 GMT
Hi,

I defined in the mapred-site.xml the following property:
<configuration>
<property>
  <name>mapred.job.tracker</name>
  <value>local</value>
</property>
(...)
</configuration>

But when I start map reduce I get the error "Not a host:port pair: local".
How can I run MR with the local property?


/************************************************************
STARTUP_MSG: Starting JobTracker
STARTUP_MSG:   host = virtuakarmic/127.0.1.1
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.20.2-dev
STARTUP_MSG:   build =  -r ; compiled by 'hadoop' on Fri May 21 09:56:50
CEST 2010
************************************************************/
2010-05-21 10:01:13,289 INFO org.apache.hadoop.mapred.JobTracker:3829
Scheduler configured with (memSizeForMapSlotOnJT, memSizeForReduceSlotOnJT,
limitMaxMemForMapTasks, limitMaxMemForReduceTasks) (-1, -1, -1, -1)
2010-05-21 10:01:13,346 FATAL org.apache.hadoop.mapred.JobTracker:3726
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:1800)
        at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1583)
        at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:179)
        at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:171)
        at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:3723)


Thanks,
-- 
PSC

Mime
View raw message