hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Tanquary <matt.tanqu...@gmail.com>
Subject Re: Hadoop Reduce is never called
Date Sat, 30 Oct 2010 18:15:54 GMT
Hi, the println statement won't be printed. Use the logger instead and then
go through the logs using the MapReduce UI.

-M@

On Sat, Oct 30, 2010 at 11:07 AM, Cameron_ <rch3@sfu.ca> wrote:

>
> Hi,
>
> I am new to Hadoop and new to the community.  I am using Hadoop 0.20.2 and
> working through the LineIndexer example.  I  have defined the Reducer using
> the followinjob.setReducerClass (LineIndexerReducer.class);g line:
>
> job.setReducerClass (LineIndexerReducer.class);
>
> in the file  http://old.nabble.com/file/p30094575/LineIndexer.java
> LineIndexer.java .  My Reducer code is
> http://old.nabble.com/file/p30094575/LineIndexerReducer.java
> LineIndexerReducer.java .  I have a trace print statement in the Reducer.
> This println statement never gets executed indicating that my Reducer never
> gets called.  My mapper,
> http://old.nabble.com/file/p30094575/LineIndexerMapper.java
> LineIndexerMapper.java  works correctly.
>
> Does anyone have any idea what I have done wrong?
>
> Thank you in advance,
>
> Cameron
>
>
>
> --
> View this message in context:
> http://old.nabble.com/Hadoop-Reduce-is-never-called-tp30094575p30094575.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>
>


-- 
Have you thanked a teacher today? ---> http://www.liftateacher.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message