Skip to content

HELP me! #46

cailong opened this Issue Jul 19, 2011 · 2 comments

2 participants

cailong commented Jul 19, 2011

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!


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

@klbostee klbostee closed this Nov 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.