Need quick fix for > lineno":466, "message":"SyntaxError: syntax error", "source":"()

Jonathan Langevin jlangevin at loomlearning.com
Mon Mar 26 10:36:07 EDT 2012


Thanks for your solution Aphyr.

Dan, shouldn't the Riak builtin js functions (for mapping the object
values) account for this issue, assuming this is [new] behavior that should
be expected now?
https://github.com/basho/riak_kv/blob/master/priv/mapred_builtins.js
*

 <http://www.loomlearning.com/>
 Jonathan Langevin
Manager, Information Technology
Loom Inc.
Wilmington, NC: (910) 241-0433 - jlangevin at loomlearning.com -
www.loomlearning.com - Skype: intel352
*


On Tue, Mar 6, 2012 at 1:17 PM, Aphyr <aphyr at aphyr.com> wrote:

> On 03/06/2012 08:11 AM, Ivaylo Panitchkov wrote:
>
>>
>> Hello guys,
>>
>> We are in production and noticed ALL of the M/R requests failing right
>> after a bulk delete with the following response returned back:
>>
>> lineno":466,"message":"**SyntaxError: syntax error","source":"()
>>
>> The problem is now persistent even if the delete operation was done
>> awhile ago.
>> I googled to find a solution and realized this is a bug not fixed yet.
>> We have a cluster of 4 machines with riak (1.0.2 2011-11-17) Debian
>> x86_64 installed.
>> I need a quick fix ASAP if someone could help me out.
>>
>
> For us, that means you need to check robject.values[i].metadata['X-**Riak-Deleted']
> before trying to parse the object as JSON.
>
> --Kyle
>
>
> ______________________________**_________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/**mailman/listinfo/riak-users_**lists.basho.com<http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120326/8c06b940/attachment.html>


More information about the riak-users mailing list