The same key for different gears (HADOOP)?

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?

+5
source share
2 answers

. , , , , , .

, MapReduce, - . , Cascading, Pig Hive .

+4

All Articles