Is it possible to process values ββwith the same key on different gearboxes? from all the cartographers, I received data with the same key, and I want to process it with different reducers? my confusion is that the book says that all values ββwith the same key will go to the same gearbox ...
mapper1(k1,v1),mapper2(k1,v2),mapper3(k1,v3) and so on...
I donβt want all the data to match with the gearbox ... it should be like
reducer1(k1,v1),reducer2(k1,v2)....
and lets say that gear1 produces sum1 and gear2 produces sum2, and I want
sum=sum2+sum1
How should I do it?
source
share