Home > other >  Consult the hadoop custom counter of a problem
Consult the hadoop custom counter of a problem

Time:04-24

I have a hadoop task, set up multiple reducer in the reduce phase, and then want to customize a counter after summarizing the results of multiple reducer summation, but each the result of the reducer is a floating point number, type and conuter increment method only support long integer arithmetic, if cast lead to precision loss, could you tell me how to solve this? Thank you for bosses to solve!
  • Related