hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Kimball <aa...@cloudera.com>
Subject Re: Not a host:port pair: local
Date Sat, 22 May 2010 08:05:20 GMT
If you are specifying fully-local mode, then you shouldn't start a
JobTracker daemon. When you run your mapreduce program with "hadoop jar
foo.jar SomeClassName", it'll just run the MR jobs in-process. No daemons
necessary.

- Aaron

On Fri, May 21, 2010 at 1:08 AM, psdc1978 <psdc1978@gmail.com> wrote:

> 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