Dear Dumbo users,
I'd like to know if there is any way to modify this simple working code that increment the value variable of 1 unit each time that a map/reduce step is executed:
def __call__(self,key,value):
def __call__(self,key,value):
job.additer(mapper, reducer)
if __name__ == "__main__":
changing the "for loop" in a "while loop" because I have to implement a code where the number of map/reduce steps it is not known a priori but it depends from the value of a variable stored in the (key,value) couple that is updated each map/reduce step.
Thanks to all,
Best!
Vincenzo