I'm using Java and looking to replicate multi-get using a map-only job per
everyone's recommendation.

My bucket and key names are binary values, not strings.

I attempted to run a map reduce job using a json input object, base 64
encoding the values.  This failed.

What is the correct way to submit a pbc map reduce job where the inputs info
is binary?

Thanks,
Jacques



*Error when trying base 64 values:*
** Reason for termination ==
**
{json_encode,{bad_term,{not_found,{<<"dGVzdDI=">>,<<"dGVzdEtleQ==">>},
undefined}}}


JSON {
    "inputs": [
        [
            "dGVzdDI=",
            "dGVzdEtleQ=="
        ],
        [
            "dGVzdDI=",
            "dGVzdEtleQ=="
        ]
    ],
    "query": [{"map": {
        "keep": true,
        "language": "javascript",
        "source": "function(v) { return [v]; }"
    }}]
}
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to