{"issue":{"created_at":"2011-11-29T20:26:39Z","state":"open","updated_at":"2011-11-29T20:26:39Z","user":{"gravatar_id":"2b5b729537aaef280639ce21fc2194c1","id":50076,"url":"https://api.github.com/users/davidmarin","login":"davidmarin","avatar_url":"https://secure.gravatar.com/avatar/2b5b729537aaef280639ce21fc2194c1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"`mrjob/examples/mr_word_freq_count.py` doesn't work on Windows because of the way we handle the shell pipeline, we actually construct a command line like `mapper | sort | combiner` and pass it to the shell.\r\n\r\nI've gotten part way through fixing this, but it seems like the underlying problem is that `mrjob.util.cmd_line()` only really works with UNIX (it uses `pipes.quote()`, and `pipes` is a Unix Python module). Probably the best fix is to set up a pipeline using `subprocess` and avoid the shell entirely.\r\n\r\n","assignee":null,"id":2392277,"number":295,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Bug","color":"d95757","url":"https://api.github.com/repos/Yelp/mrjob/labels/Bug"}],"title":"combiners in local mode don't work on Windows","closed_at":null,"html_url":"https://github.com/Yelp/mrjob/issues/295","url":"https://api.github.com/repos/Yelp/mrjob/issues/295","milestone":{"created_at":"2011-10-31T23:41:29Z","state":"open","due_on":null,"closed_issues":13,"creator":{"gravatar_id":"2b5b729537aaef280639ce21fc2194c1","id":50076,"url":"https://api.github.com/users/davidmarin","login":"davidmarin","avatar_url":"https://secure.gravatar.com/avatar/2b5b729537aaef280639ce21fc2194c1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":6,"description":"Final bugfixes, cleanup, and documentation for v0.3.0.\r\n","title":"v0.3.0 release","url":"https://api.github.com/repos/Yelp/mrjob/milestones/6","open_issues":2}},"action":"opened"}