Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reducer output seems to go to /dev/null when input is empty #47

Closed
gsakkis opened this issue Jul 26, 2011 · 0 comments
Closed

Reducer output seems to go to /dev/null when input is empty #47

gsakkis opened this issue Jul 26, 2011 · 0 comments
Labels

Comments

@gsakkis
Copy link

gsakkis commented Jul 26, 2011

The following script should generate the same output regardless of the input but it doesn't when the input is empty, despite yielding the same 100 entries as evidenced by the stderr messages:

import sys
import dumbo
from dumbo.lib import identitymapper

def reducer(data):
    for _ in data:
        pass
    for i in xrange(100):
        yield "foo", i        
        print >> sys.stderr, "yielding" , i

if __name__ == '__main__':
    dumbo.run(identitymapper, reducer)
@gsakkis gsakkis closed this as completed Jan 31, 2024
@gsakkis gsakkis closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant