Understanding an intermittent mapreduce error

Sean Cribbs sean at basho.com
Mon Jun 16 09:22:16 EDT 2014


Toby,

Could you try this?

1. Run `riak attach`
2. Type into the console: rr(rpc:multicall(riak_kv_mapred_json,
module_info, [exports])).
3. Paste back to me what the result is

Cheers,


On Mon, Jun 16, 2014 at 3:31 AM, Toby Corkindale <toby at dryft.net> wrote:

> Hi,
> I'm trying to understand why I'm getting an intermittent error on a
> particular map-reduce call to Riak 1.4.9.
> The query isn't particularly complicated, and filters mean it should
> only be running over ~100 keys, and returning <10 each time, so I
> don't think I should be hitting any stack or memory limits in the JS
> VMs.
>
> It fails frequently, but not every time. When pointing it at just a
> single Riak server for debugging purposes, it fails around 30% of the
> time.
> The error returned is as follows:
>
> {
>    "input" : null,
>    "stack" : null,
>    "phase" : 1,
>    "error" :
> "{undef,[{riak_kv_mapred_json,jsonify_not_found,[{struct,[{<<\"email\">>,<<\"
> user at example.com
> \">>},{<<\"attributes\">>,[<<\"someattributes\">>,<<\"somemoreattributes\">>,<<\"w...\">>,...]},...]}],...},...]}",
>    "type" : null
> }
>
>
> There are no errors in the Riak server logs.
>
>
> Thanks,
> Toby
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
Sean Cribbs <sean at basho.com>
Software Engineer
Basho Technologies, Inc.
http://basho.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140616/9f4a8023/attachment.html>


More information about the riak-users mailing list