Ownership question.

2013-09-27 Thread Guido Medina
Morning, Is there a way to determine what nodes a key belong to? I'm guessing that the hash of a key will be computed using the bucket name and key combined, I'm having some issues with some writes and would like to see if there is a pattern, knowing what nodes are involved will help me a lot.

Re: Ownership question.

2013-09-27 Thread Simon Effenberg
Hey Guido.. have a look here: http://docs.basho.com/riak/latest/theory/concepts/Replication/ Cheers Simon On Fri, 27 Sep 2013 09:56:57 +0100 Guido Medina wrote: > Morning, > > Is there a way to determine what nodes a key belong to? I'm guessing > that the hash of a key will be computed usi

Re: allow_mult vs. 2i

2013-09-27 Thread Jeremiah Peschka
I think that CRDT support in Riak will meet your needs. It pushes garbage collection down to Riak itself so you don't have to worry about it. The downside is that it is only in Riak 2.0 and not all clients support it yet or their support is immature. The current support in the .net client is very

Re: OSX Riak 1.4 Internal Server Error on all map reduce jobs

2013-09-27 Thread Luke Bakken
> The query: > curl -X POST http://localhost:8098/mapred -H 'Content-Type: > application/json' -d > '{"inputs":"testfs","query":[{"map":{"language":"javascript","name":"Riak.mapValuesJson","keep":true}}]}' Since you're using mapValuesJson, the data over which you're iterating must be valid JSON. D

Re: Work Shedding/Overload protection settings

2013-09-27 Thread Luke Bakken
On Wed, Sep 25, 2013 at 6:00 AM, Raghu Katti wrote: > Hello, > > I was wondering if there is any formula to determine these settings for > overload protection and load shedding. The defaults are 5 and 1. I > wanted to find if there are any recommended ways to determine custom values > of

Re: OSX Riak 1.4 Internal Server Error on all map reduce jobs

2013-09-27 Thread jeffrey k eliasen
Well, that's embarrassing. I cleaned my data and introduced errors. The JSON that is in the node in question is laid out like you see, but all the " characters are preceded by '\' in the error output. I looked at that funny but presumed it was part of the Erlang dump, as the nodes themselves wer