Hi Venkatesh, On Tue, Dec 11, 2012 at 11:22 PM, Venki Yedidha <[email protected]> wrote: > Hi All, > I am getting error:timeout when I am trying to run an m/r job on 9600 > bucket/key pairs..I am writing m/r in javascript..I would like to know how I > can improve the performance of an m/r job in general..I tried increasing > timeout factor to 150000 but still the same error..I am running on a 3 node > riak cluster. >
Can we get a look at the js code? There might be a prebuilt erlang job [1] or m/r util [2] that can do the same thing you're attempting. There's also a 5s hardcoded timeout for any JS invocation that you might be hitting. Mark [1] https://github.com/basho/riak_kv/blob/master/src/riak_kv_mapreduce.erl [2] https://github.com/whitenode/riak_mapreduce_utils > Also, on what factor I need to multiply on : > > {map_js_vm_count, 8 }, > {reduce_js_vm_count, 6 }, > {hook_js_vm_count, 2 } > > for better performance. > > Thanks, > Venkatesh > > > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
