Re: Is there a way to tell if I'm in a combiner or a reducer?

2011-05-13 Thread Harsh Chouraria
Hello, Short answer: No. Use separate classes (or derive your combiner from the reducer, with modified behavior). I answered a similar question not too long ago from now: http://search-hadoop.com/m/Wh7vuKJEtL1/reducer+combiner&subj=Differentiate+Reducer+or+Combiner HTH. On 14-May-2011, at 1:1

Is there a way to tell if I'm in a combiner or a reducer?

2011-05-13 Thread W.P. McNeill
I have a MapReduce process that uses the same class for its combiner and reducer. I just realized that I want the behavior in the combiner and reducer to be slightly different in this one place. I could write separate combiner and reducer classes derived from a common source, but in my situation