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"""
def combiner(key,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!
This is not the right place for asking questions. Please use the mailing list instead.