Riak node recovery after crash.

2011-03-31 Thread santhosh venkat
Hi , I am trying to experiment with the recovery time of a riak node using bitcask storage after a crash . I was able to find some information about that in this page (which is for Innodb though) http://wiki.basho.com/Recovering-a-failed-node.html which is more about Innodb .

Re: Inconsistent map/reduce results

2011-03-31 Thread Keith Dreibelbis
Thanks for the responses. Changing vnode_cache_entries (0.13) to map_cache_size (0.14) mostly made the problem go away, and I was able to remove the random seed hack. However, now I've got a different problem. When I do a map reduce that is supposed to return 300 items, I get some sort of timeou

erlang pb client pooling + test results

2011-03-31 Thread David Weldon
I recently tried to use the erlang pb client under moderate load (100 qps) and found it failed pretty hard because I was creating a new connection for each query. While I'm not new to riak, I have been using it under fairly light load up until now so I went searching for a solution to the problem.

Re: Banging head against wall with erlang pb client

2011-03-31 Thread Dan Reverri
Hi Jon, The value for content-type should be a string. For custom meta data the client expects a proplist of custom headers under the <<"X-Riak-Meta">> key. Check out the following test to get an idea of what the metadata would look like: https://github.com/basho/riak-erlang-client/blob/master/sr

Banging head against wall with erlang pb client

2011-03-31 Thread Jon Brisbin
I know I'm doing something obvious wrong, but I can't seem to make this: {riakc_obj,<<"riak">>,<<"test">>,undefined,[], {dict,2,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}, {{[],[],

Re: Inconsistent map/reduce results

2011-03-31 Thread Matthew Heitzenroder
setting the map_cache_size to 0 is workaround for bug 969. If map_cache_size=0 alleviates the issue, then upgrading to 0.14.1 should resolve the issue with the MapReduce cache. On Thu, Mar 31, 2011 at 12:20 PM, Dan Reverri wrote: > Hi Keith, > > The

Re: Inconsistent map/reduce results

2011-03-31 Thread Dan Reverri
Hi Keith, I'm not able to reproduce this particular issue. I've attached a simple script that I've been using to test the issue. The script loads a set of keys into Riak and runs a MapReduce job. I've tried running against a single node cluster and a three node cluster (devrel). Is there anything

Re: using python client for search

2011-03-31 Thread Eric Moritz
The client.search method is basically a shortcut to using the mapred_search erlang function as an input to a map/reduce query. You can sort, seek and limit in the reduce phase of that mapred query. An alternative is to use pysolr to talk to riak search. Eric. On Thu, Mar 31, 2011 at 11:15 AM, T

Re: Inconsistent map/reduce results

2011-03-31 Thread Dan Reverri
Hi Keith, The cache entry parameter name changed in 0.14 to "map_cache_size". Setting this parameter to 0 will disable the cache. Regarding the empty MapReduce results, I'll try to reproduce the issue locally and narrow down the cause. Thanks, Dan Daniel Reverri Developer Advocate Basho Technol

using python client for search

2011-03-31 Thread Thomas Bikeev
Hello, is it possible to use solr-type parameters: specifically start, rows and sort in python client? Thanks! -- Thomas Bikeev Sent with Sparrow ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-user