Graph-Analytics----Triangle-Counting icon indicating copy to clipboard operation
Graph-Analytics----Triangle-Counting copied to clipboard

What does the last reducer do?

Open MemphisMeng opened this issue 5 years ago • 1 comments

I think the first two map/reduce process has completed all you need to do. So the last "AggregateReducer" looks like a redundance because it just repeats what the second reducer does. Am I right? Or is there anything I missed?

MemphisMeng avatar Apr 29 '20 17:04 MemphisMeng

Not quite. Typically there would be multiple instances of CountTrianglesReducer, on different cores / machines. The last job sums across all of them.

swalkaus avatar May 04 '20 14:05 swalkaus