Simple mapreduce with 2i returns different result

Mattias Sjölinder mattias at sjolinder.se
Fri Apr 12 03:13:52 EDT 2013


Hi

I struggling to get a grip around MapReduce and why it is sometimes
returning only a subset of what is expected. Is it the nodes processing the
map phase that after a specific time returning the found matches so far? I
would rather have it returning timeout instead of a subset of the actual
match.

An example is this simple MapReduce:

{
    "inputs":{
        "bucket":"som-bucket",
        "index":"userid_bin",
        "key":"18481123123"
    },
    "query":[
        {
            "map":{
                "language":"javascript",
                "name":"Riak.mapValuesJson",
                "keep":true
            }
        }
    ]
}


Any thoughts?

Regards
Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130412/70e64f72/attachment.html>


More information about the riak-users mailing list