Timeout during reduce phase

Matthew A. Brown mat.a.brown at gmail.com
Tue Dec 13 07:36:04 EST 2011

Hi Bryan,

That sounds like the problem.


On Tue, Dec 13, 2011 at 07:30, Bryan Fink <bryan at basho.com> wrote:
> 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

More information about the riak-users mailing list