Setting read quorum for map reduce jobs
sean at basho.com
Tue May 4 10:27:21 EDT 2010
The read quorum doesn't apply to map-reduce - the value from the first vnode in the preflist will be tried, followed by the others if it is not available. If an input is completely unavailable (as may be the case with 1/2 of the nodes down), the job will fail. 2 nodes is a bit of degenerate case anyway - especially if you use the default N value of 3. When the size of the cluster smaller than N, there's a chance that some data could become unavailable when a node goes down.
Sean Cribbs <sean at basho.com>
Basho Technologies, Inc.
On May 4, 2010, at 10:13 AM, Johnathan Loggie wrote:
> I’m struggling to find how to set the the read quorum for a map reduce job via the REST api.
> The documentation doesn’t mention that this is even possible.
> I’m using ripple, and tried forcing r=1 onto the end of the query string (e.g with @client = Riak::Client.new(:mapred = ‘/mapred?r=1’)) to see if this resource worked like the others, but had no luck.
> I have 2 riak nodes and have deliberately stopped one as if it were down or disconnected.
> In this state my map reduce jobs fail to run on the node that is up and running.
> Can anybody help?
> Have I completely got the wrong end of the stick on this one?
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users