Questions tagged [riak]

Riak is a key/value data store written in Erlang. It implements principles from Amazon's Dynamo paper.

Riak is a NoSQL database implementing the principles from Amazon's Dynamo paper. Riak is designed to deliver maximum data availability by distributing data across multiple servers. As long as your Riak client can reach one Riak server, it should be able to write data.

While Riak is typically known as an eventually consistent system, beginning with version 2.0 it can be used either as an eventually or strongly consistent system, and these two approaches can be mixed and matched in a single cluster.

For more information please refer to:

  1. Home page
  2. Downloads

Related tags :

771 questions
0
votes
1 answer

Riak returns an error "Reading large object of size ..." when a mapreduce

When I try to run the query mapreduce, Riak returns an error [preflist_exhausted]. In console.log a warning: riak_kv_vnode:do_get_object:1300 Reading large object of size 8360185. I stored in Riak large objects (up to 20 MB). Is there a setting…
helvar
  • 133
  • 2
  • 7
0
votes
2 answers

Riak does not allow to remove a node

I added the node to the cluster. Appear on the node there is a problem. Node remains in the status of 'joining'. No data on the cluster. #riak-admin member-status ================================= Membership…
helvar
  • 133
  • 2
  • 7
0
votes
0 answers

Write Riak Secondary Index via AJAX POST

I'm in need of fixing some 2i by hand in Riak 1.4+. I've installed rekon for a sake of use, and now I'm editing template. All I want to do is just add some $.ajax onclick like this: $.ajax({ url: $(pairUrl).attr('url'), type: "POST", headers: { …
0
votes
1 answer

retrieving keys by time lst written into riak DB

I am storing messages into a riak DB with sequence numbers as keys. When I am retrieving the messages, I used to sort all the keys and get each message in sorted order. Unfortunately that method has become non viable. Therefore I was wondering if…
Hristo Asenov
  • 439
  • 1
  • 4
  • 8
0
votes
1 answer

Get Riak to start with chef

I need help getting Riak to work with Chef. Currently every time I chef an amazon box with Riak 1.4.8 using the default basho riak cook book I have to manually ssh into the machine kill -9 the beam.smp process then rm -rf /var/lib/riak/ring then I…
twreid
  • 1,453
  • 2
  • 22
  • 42
0
votes
1 answer

"Reverse formatting" Riak search results

Let's say I have an object in the test bucket in my Riak installation with the following structure: { "animals": { "dog": "woof", "cat: "miaow", "cow": "moo" } } When performing a search request for this object, the…
garbetjie
  • 579
  • 3
  • 10
0
votes
1 answer

Riak SOLR over HTTP and date ranges?

Can anyone tell me what Riak expects for date format when using the SOLR api over HTTP to search? I have some data that's indexed. A wildcard search confirms that: { "responseHeader": { "status": 0, "QTime": 13, "params":…
XeroxDucati
  • 5,130
  • 2
  • 37
  • 66
0
votes
2 answers

To get sum of certain value from resultset in riak

I am working on riak-java client. while doing Mapreduce i got the following output. Now i want to get sum of ticketValue from the Result set that i got.I want to get it by passing userID. update From this method i get the resultSet as below def…
Uraniium
  • 109
  • 6
0
votes
1 answer

How to intercept remote nodes in Riak using riak_test module?

I have a problem when trying Erlang testing module riak_test to simulate connections among remote nodes. It is possible to connect remote nodes within a test to local nodes (deployed by rt:deploy_nodes) but it is impossible to call functions of rt…
Zuzana
  • 132
  • 6
0
votes
1 answer

Restart Riak nodes every time updated erlang mapreduce functions?

Mapreduce-used functions in erlang modules has to be included in Riak in order to work. Since I have a cluster, I have to restart all the nodes every time I made some changes to the source code in that function. I thought I could use: riak-admin…
Hao
  • 6,291
  • 9
  • 39
  • 88
0
votes
1 answer

How to send Parameters to a map reduce query in riak by python-riak client using erlang

How can send the parameters to the: query.map() function as given in the "http://basho.github.io/riak-python-client/query.html#riak.mapreduce.RiakMapReduce.map". I am having map.erl in erlmap fodler in mysystem. In that i am having Map function. I…
Krish gopi
  • 155
  • 4
  • 12
0
votes
1 answer

How to continously load data in Riak with erlang file

I want to run a programme that loads a data into riak database, but the process is stopping suddenly when i gave range about 10. if i gave 5-8 it is taking and loading the data, when i give range more than 10 it was hanging up. what was…
Krish gopi
  • 155
  • 4
  • 12
0
votes
2 answers

How to get data from a tuple inside bitstring inside list in RIak-erlang client

I am working on riak-erlang client. while doing Mapreduce i got the following output. Now i want to get the data from the Result set that i got.I want age/name, and also by particular name i want to get age. How can i do that.please help…
Krish gopi
  • 155
  • 4
  • 12
0
votes
1 answer

How to get binary data into integer on mapreduce in riak

I am working on riak-erlang client , I have done the following... 3> Mapf = fun(Obj,_,_) -> [riak_object:get_value(Obj)] end. #Fun 4> 4> {ok, [{0,[R]}]} = riakc_pb_socket:mapred(Pid,<<"tst">>, [{map{qfun,Mapf},none,true}]). …
Krish gopi
  • 155
  • 4
  • 12
0
votes
1 answer

Error while doing Mapreduce in riak-erlang client

I have done the following.I have stored the details like the following,but even though i am getting error in the mapreduce, please help me.i want the data of the test_age bucket. to display {gopi,1}. 1> {ok, Pid} =…
Krish gopi
  • 155
  • 4
  • 12