Hi, I'm setting my combiner and reducer to the same java class. Is there any API that could tell me the context in which the java class is running after the hadoop job is submitted to the cluster i.e whether the class is running as a combiner or a reducer. I need this information to change the OutputCollector in the java class. Also I do not want to duplicate the same code as combiner and reducer with only the OutputCollector changed.
Thanks, Prasad
