klbostee / dumbo

Python module that allows one to easily write and run Hadoop programs.
http://projects.dumbotics.com/dumbo
1.04k stars 146 forks source link

HELP me! #46

Closed cailong closed 13 years ago

cailong commented 13 years ago

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!

klbostee commented 13 years ago

This is not the right place for asking questions. Please use the mailing list instead.

cailong commented 13 years ago

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