Re: IdentityReducer is called instead of my own

2011-02-03 Thread Marco Didonna
On 02/03/2011 11:47 AM, madhu phatak wrote: > The.Definitive.Guide book I do have that book...is based on the old api

Re: IdentityReducer is called instead of my own

2011-02-03 Thread madhu phatak
Read Oreilly.Hadoop.The.Definitive.Guide book. It points out the changes in new and old api. On Thu, Feb 3, 2011 at 3:53 AM, Christian Kunz wrote: > I don't know of a transition guide, but I found a tutorial based on the new > api: > > http://hadoop.apache.org/mapreduce/docs/current/mapred_tutor

Re: IdentityReducer is called instead of my own

2011-02-02 Thread Christian Kunz
I don't know of a transition guide, but I found a tutorial based on the new api: http://hadoop.apache.org/mapreduce/docs/current/mapred_tutorial.html I did not use it, but it might be useful. BTW, you could use the @Override annotation when overriding any method to let the compiler detect issu

Re: IdentityReducer is called instead of my own

2011-02-02 Thread Marco Didonna
On 02/02/2011 10:23 PM, Christian Kunz wrote: > Without seeing the source code of the reduce method of the InvIndexReduce > class > my best guess would be that the signature is incorrect. I saw this happen > when migrating from old to new api: > > protected void reduce(KEYIN key, Iterable value

Re: IdentityReducer is called instead of my own

2011-02-02 Thread James Seigel
Share code from your mapper? Check to see if there are any errors on the job tracker reports that might indicate the inability to find the class. James. On 2011-02-02, at 2:23 PM, Christian Kunz wrote: > Without seeing the source code of the reduce method of the InvIndexReduce > class > my b

Re: IdentityReducer is called instead of my own

2011-02-02 Thread Christian Kunz
Without seeing the source code of the reduce method of the InvIndexReduce class my best guess would be that the signature is incorrect. I saw this happen when migrating from old to new api: protected void reduce(KEYIN key, Iterable values, Context context) (Iterable, not Iterator as in the old

IdentityReducer is called instead of my own

2011-02-02 Thread Marco Didonna
Hello everybody, I am experiencing a weird issue: I have written a small hadoop program and I am launching it using this https://gist.github.com/808297 JobDriver. Strangely InvIndexReducer is never invoked and the default reducer kicks in. I really cannot understand where the problem could be: as y