Understanding an intermittent mapreduce error

Toby Corkindale toby at dryft.net
Mon Jun 16 04:31:40 EDT 2014


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




More information about the riak-users mailing list