Hi!

I have a novice question. I have data consisting of (Text, Long) tuples. I need to calculate sum of the values. The way I am achieving it now is mapping Text key to a constant value Text("Total") and using LongSumReducer as both Combiner and Reducer. It seems to be working except that I get many 0-bytes output files and just one non-empty file with the actual result. If there is a way to avoid creation
of these empty files? Thanks!

Vadim

Reply via email to