SV: Timeout during reduce phase

Jens Rantil jens.rantil at telavox.se
Mon Jan 23 04:07:40 EST 2012


Hi,

Sorry for bringing this up for attention at such late notice. However, shouldn't this be a configurable setting in riak?

Regards,
Jens

-----Ursprungligt meddelande-----
Från: riak-users-bounces at lists.basho.com [mailto:riak-users-bounces at lists.basho.com] För Bryan Fink
Skickat: den 13 december 2011 13:31
Till: Matthew A. Brown
Kopia: riak-users at lists.basho.com
Ämne: Re: Timeout during reduce phase

On Mon, Dec 12, 2011 at 1:12 PM, Matthew A. Brown <mat.a.brown at gmail.com> wrote:
> The map/reduce itself has a timeout of 10 minutes, but this is 
> happening after about 30 seconds. Any idea what could be causing this?

Hi, Mat.  Is your reduce phase implemented in Javascript?  If so, it's subject to a hardcoded five second timeout in erlang_js.  Each Javascript call a MapReduce query makes must finish in under five seconds, regardless of the timeout set for the whole query.  Phases implemented in Erlang are not subject to this restriction.

HTH,
Bryan

_______________________________________________
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