Running MapReduce when deleting record is causing bad_utf8_character_code error

Luke Bakken lbakken at basho.com
Wed Oct 29 14:06:55 EDT 2014


Hi Naveen,

What is your map reduce query?
--
Luke Bakken
Engineer / CSE
lbakken at basho.com


On Mon, Oct 20, 2014 at 11:59 AM, Naveen Tamanam
<naveen32india at gmail.com> wrote:
> Hi,
>
> Running map-reduce when deleting the record causing the
> bad_utf8_character_code
> error. I mean doing both things simultaneously causing the error
>
> Here is the traceback
>
>    Error running MapReduce operation. Headers: {'content-length': '1312',
> 'server': 'MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)',
> 'connection': 'close', 'date': 'Mon, 20 Oct 2014 18:23:08 GMT',
> 'content-type': 'text/html', 'http_code': 500} Body: '<html><head><title>500
> Internal Server Error</title></head><body><h1>Internal Server Error</h1>The
> server encountered an error while processing this
> request:<br><pre>{error,{exit,{ucs,{bad_utf8_character_code}},\n
>  [{xmerl_ucs,from_utf8,1,[{file,"xmerl_ucs.erl"},{line,185}]},
>  {mochijson2,json_encode_string,2,
>  [{file,"src/mochijson2.erl"},{line,186}]},
>    {mochijson2,\'-json_encode_proplist/2-fun-0-\',3,
>  [{file,"src/mochijson2.erl"},{line,167}]},
>    {lists,foldl,3,[{file,"lists.erl"},{line,1197}]},
>  {mochijson2,json_encode_proplist,2,
>   [{file,"src/mochijson2.erl"},{line,170}]},
>  {riak_kv_wm_mapred,send_error,2,
>    [{file,"src/riak_kv_wm_mapred.erl"},\n
> {line,70}]},\n              {riak_kv_wm_mapred,pipe_mapred_nonchunked,3,\n
> [{file,"src/riak_kv_wm_mapred.erl"},\n
> {line,214}]},\n              {webmachine_resource,resource_call,3,\n
> [{file,"src/webmachine_resource.erl"},\n
>                 {line,186}]}]}}</pre><P><HR><ADDRESS>mochiweb+webmachine web
> server</ADDRESS></body></html>'
>
>
>
> I have observed that, every time I do both things simultaneously casing the
> error. But later on after a while map-reduce query is working fine.
> Is this mean, can't I run the map-reduce queries while deleting keys from
> other client?
>
>
> --
> Thanks & Regards,
> Naveen Tamanam
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list