preflist_exhausted with map-reduce and riak-js

Jon Meredith jmeredith at basho.com
Tue Mar 13 09:48:46 EDT 2012


Hi Arne,

Could you try with 1.1.1 please.  We've fixed a number of bugs with how
MapReduce handles errors that could explain some of what you are seeing.

Jon

On Tue, Mar 13, 2012 at 12:55 AM, Arne Claassen <arne+riak at claassen.net>wrote:

> I'm running 1.1.0 built from source on Centos 6. I set up two nodes on
> localhost following the instructions on the basho site for testing and
> everything was going fine until i needed to fetch all items in a bucket.
>
> For this i was using node.js with riak-js and it's db.getAll call,which
> from the debug logs looks like it uses /mapred
>
> The bucket only has about 1200 items in it, each a json payload of about
> 3KB. Initially, it'd keep getting inconsistent results, sometimes the data
> would come back, sometimes data would be undefined. So i kept running it,
> trying to see if there was a pattern, adding more debugging code, etc. But
> still it would be about a request every couple of seconds. Then it just
> stopped working altogether and now i always get:
>
> { [Error: HTTP error 500:
> {"phase":0,"error":"[preflist_exhausted]","input":"{ok,{r_object,<<\"tweets_15368536\">>,<<\"178528155714330620\">>,[{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\">>,49,76,115,54,70,75,74,71,119,65,111,70,88,73,117,84,98,88,79,69,52,116]],[[<<\"index\">>]],[],[[<<\"X-Riak-Last-Modified\">>|{1331,487523,218968}]],[],[[<<\"X-Riak-Meta\">>]]}}},<<\"{\"coordinates\":null,\"create...\">>}],...},...}","type":"forward_preflist","stack":"[]"}]
> statusCode: 500 }
>
> in the console. I haven't tried restarting riak, just because i'd rather
> find out what's happening than it going away and coming back later when i
> don't expect it.
>
> Any suggestions on how to troubleshoot this? I can still access items
> individually and i can even list the keys via ?keys=true, it's just he map
> reduce that seems to be busted.
>
> cheers,
> arne
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
Jon Meredith
Platform Engineering Manager
Basho Technologies, Inc.
jmeredith at basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120313/a276c453/attachment.html>


More information about the riak-users mailing list