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

BotoParallelReader bug #329

Merged
merged 2 commits into from
Jun 7, 2016

Conversation

boazmohar
Copy link
Contributor

Trying to run
data = td.images.fromexample(name='mouse',engine=None)
fails due to a change from #313 as the accessor function expects 3 params.
This PR fixes that, still don't know if related to #327
There are no tests for the BotoParallelReader, seems very hard to mock AWS.
@freeman-lab Is there another way?

@boazmohar boazmohar mentioned this pull request Jun 7, 2016
@@ -391,7 +391,7 @@ def getsplit(kvIter):
idx, keyName = kv
key = bucket.get_key(keyName)
buf = key.get_contents_as_string()
yield idx, buf
yield idx, buf, keyName
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make lowercase keyname

@freeman-lab
Copy link
Member

Looks good @boazmohar ! Just a style nit. Thanks for catching this. I think #327 was a different error though.

@boazmohar
Copy link
Contributor Author

Sure thing @freeman-lab I prefer finding the bugs I made first :)

@freeman-lab freeman-lab merged commit 86a7021 into thunder-project:master Jun 7, 2016
@boazmohar boazmohar deleted the BotoParallelReaderBug branch June 7, 2016 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants