{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"closed","milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/15f326dc922058c25163d4d955ce5783?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"15f326dc922058c25163d4d955ce5783","url":"https://api.github.com/users/cailong","login":"cailong","id":924627},"updated_at":"2011-11-17T22:11:33Z","labels":[],"assignee":null,"closed_at":"2011-11-17T22:11:33Z","comments":1,"url":"https://api.github.com/repos/klbostee/dumbo/issues/46","body":"In my task, i want use Dumbo to do this:\r\n the function of mapper get IP and occurrences number from server`s log.\r\n and the reducer function return a SQL with key(IP) and value(occurrences number)\r\n just like so:\r\n       def mapper(key, value) :\r\n             key = \"\"\"get the ip for value\"\"\"\r\n             yield key,1\r\n       def combiner(key,value) :\r\n             yield key,sum(value)\r\n       def reducer(key,value) :\r\n             yield \"\"\"sql with key and value\"\"\"\r\n\r\nhow can i do?\r\nPlease forgive my bad English.\r\nThe friend from China wait for you answer!\r\nVery Thinks!","html_url":"https://github.com/klbostee/dumbo/issues/46","title":"HELP me!","number":46,"id":1247598,"created_at":"2011-07-19T06:41:19Z"},"action":"closed"}