HELP me! #46

Closed
cailong opened this Issue Jul 19, 2011 · 2 comments

Comments

Projects
None yet
2 participants
@cailong

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!

@klbostee

This comment has been minimized.

Show comment
Hide comment
@klbostee

klbostee Nov 17, 2011

Owner

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

Owner

klbostee commented Nov 17, 2011

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

@klbostee klbostee closed this Nov 17, 2011

@cailong

This comment has been minimized.

Show comment
Hide comment
@cailong

cailong Nov 18, 2011

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:
#46 (comment)

cailong commented Nov 18, 2011

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:
#46 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment