The plot thickens. Having run the same query a couple more times just now - I see a different error! (No changes we made to the code).
Exception: Error processing stream message:
exit:{ucs,{bad_utf8_character_code}}:[{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_pb_mapred,
process_stream,
3,
[{file,
"src/riak_kv_pb_mapred.erl"},
{line,
115}]},
{riak_api_pb_server,
process_stream,
5,
[{file,
"src/riak_api_pb_server.erl"},
{line,
246}]},
{riak_api_pb_server,
handle_info,
2,
[{file,
"src/riak_api_pb_server.erl"},
{line,
129}]}]
On 21 October 2013 11:58, Matt Black <[email protected]> wrote:
> BTW, this cluster is running 1.4.0 still. If 1.4.2 would fix this issue I
> could update.
>
>
> On 21 October 2013 10:42, Matt Black <[email protected]> wrote:
>
>> Hey list,
>>
>> A script recently introduced to cleanup old data by deleting it has
>> caused one of our old reporting scripts to start failing with “not_found”.
>> I’d encountered this once before - so I thought the simple introduction of
>> a reduce phase using Riak.filterNotFound would fix it.
>>
>> However, now I’m receiving this error - removing the one line addition of
>> query.reduce("Riak.filterNotFound") gives me my old “not_found” error
>> straight back.
>>
>> Exception:
>> {"phase":1,"error":"[{<<\"lineno\">>,466},{<<\"message\">>,<<\"SyntaxError:
>> syntax
>> error\">>},{<<\"source\">>,<<\"()\">>}]","input":"{ok,{r_object,<<\"carts\">>,<<\"dd2bcd07fa8019b2d1fc1d4832c41c74\">>,[{r_content,{dict,4,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[],[],[],[[<<\"X-Riak-VTag\">>,52,68,115,107,113,49,105,69,66,109,103,79,106,87,104,75,75,97,53,98,54,65]],[[<<\"index\">>]],[[<<\"X-Riak-Deleted\">>,116,114,117,101]],[[<<\"X-Riak-Last-Modified\">>|{1381,978330,755498}]],[],[]}}},<<>>}],[{<<250,120,75,127,79,209,93,62>>,{6,63516323103}},{<<31,103,165,230,79,209,...>>,...},...],...},...}"}
>>
>> Any thoughts?
>>
>> Thanks y'all
>>
>
>
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
