Closed cailong closed 13 years ago
This is not the right place for asking questions. Please use the mailing list instead.
OK, very thanks!
At 2011-11-18 06:11:34,"Klaas Bosteels" reply@reply.github.com wrote:
This is not the right place for asking questions. Please use the mailing list instead.
Reply to this email directly or view it on GitHub: https://github.com/klbostee/dumbo/issues/46#issuecomment-2782833
In my task, i want use Dumbo to do this: the function of mapper get IP and occurrences number from server`s log. and the reducer function return a SQL with key(IP) and value(occurrences number) just like so: def mapper(key, value) : key = """get the ip for value""" yield key,1 def combiner(key,value) : yield key,sum(value) def reducer(key,value) : yield """sql with key and value"""
how can i do? Please forgive my bad English. The friend from China wait for you answer! Very Thinks!