Search reindexing during a handoff?

2015-02-17 Thread Miroslav Urbanek
Hello, I have a four node cluster running Riak 2.0.4 with n_val = 2 and Search turned on. I removed (riak-admin cluster leave) one node. The operation took a long time, but eventually completed. However, I could see the java process consuming fair amount of CPU time during the operation. This lea

Single node cluster

2015-02-03 Thread Miroslav Urbanek
Hello, I know it is recommended to have at least 5 nodes in a Riak cluster. However, for development purposes, I want to set up a single node cluster and achieve its maximum performance. I use buckets without siblings and Riak Search. What are good configuration options in this scenario? So far, I

Re: How to call mapreduce from Riak client?

2013-02-27 Thread Miroslav Urbanek
Answering my own e-mail: The function has to be executed on a Riak node. The script should call rpc:call(Host, riak_kv_mrc_pipe, mapred, [Inputs, Phases]) instead of riak_kv_mrc_pipe:mapred(Inputs, Phases). Miro On Tue, Feb 26, 2013 at 10:39 PM, Miroslav Urbanek wrote: > Dear Riak us

Mapreduce performance

2012-06-21 Thread Miroslav Urbanek
Dear Riak users, we are evaluating Riak for storing data similar to the dataset in the tutorial example ("goog.csv" at http://wiki.basho.com/Loading-Data-and-Running-MapReduce-Queries.html ). However, the mapreduce seems to be very slow. We have generated 200k lines exactly in the goog.csv format