How can I repeat the map and reduce process and feed the output of reduce into map function (in the next round)?
My second question is how to define a global variable with is accessible among all map and reduce funtions?
|
How can I repeat the map and reduce process and feed the output of reduce into map function (in the next round)? My second question is how to define a global variable with is accessible among all map and reduce funtions? |
|||||||||||||
|
Questions on Computer Science Stack Exchange are expected to relate to computer science within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
You can try using ChainMapper and ChainReducer to create a job pattern like
|
|||
|
|