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

M/R errors #2

Open
davisford opened this issue Apr 26, 2012 · 1 comment
Open

M/R errors #2

davisford opened this issue Apr 26, 2012 · 1 comment

Comments

@davisford
Copy link

When I try the m/r examples, sometimes it returns a result, and sometimes it returns an error, that might look like this:

riak.add('tweets').map(loveTweets).reduce(countTweets).run()
undefined
> { [Error: HTTP error 500: {"phase":0,"error":"[preflist_exhausted]","input":"{ok,{r_object,<<\"tweets\">>,<<\"195357732499488769\">>,[{r_content,{dict,6,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[[<<\"Links\">>]],[],[],[],[],[],[],[],[[<<\"content-type\">>,97,112,112,108,105,99,97,116,105,111,110,47,106,115,111,110],[<<\"X-Riak-VTag\">>,53,118,80,49,68,56,99,51,112,118,108,48,101,77,85,66,120,49,121,122,107,55]],[[<<\"index\">>]],[],[[<<\"X-Riak-Last-Modified\">>|{1335,411887,982894}]],[],[[<<\"X-Riak-Meta\">>]]}}},<<\"{\"user\":\"SwaggieMiller\",\"tweet\":...\">>}],...},...}","type":"forward_preflist","stack":"[]"}] statusCode: 500 }

There are about 3000 bieber tweets in my database, and when the re-reduce does finish successfully, it reports 179. Do you know why it errors out sometimes? It might be worth adding commentary in the book about this.

@roidrage
Copy link
Collaborator

This seems to be an issue with Riak itself. There's an open issue and some instruction on how to work around this issue over here: basho/riak_pipe#44

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

No branches or pull requests

2 participants