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
2 answers

Riak not storing data in a round-robin manner across instances

I have a Riak cluster (of 3 nodes, with 64 partitions and n_val = 3) but I find that for some objects, their hosting partitions / vnodes are not spread out across the 3 nodes. In some cases, 2 of them are on 1 node and the third is on a second node.…
vikram17000
  • 453
  • 5
  • 18
0
votes
0 answers

RIAK php client timeout error

My environment is Ubuntu 14.04LTS, Nginx 1.4.6 with php5-fpm. I have a code with RIAK php api ( riak-pb ). When i run it in browser, it works well ( in this case FetchObject ). I click the browser refresh button more time and my sample code runs…
0
votes
2 answers

Is key-value store database a good option for full-text search storage?

Would it be a good option to use key-value store database like cassandra and riak for storing your texts, which will be used for full-text search? If it is not recommendable, what are the reason for not going this path? Anybody has any experience on…
Joshua Partogi
  • 16,167
  • 14
  • 53
  • 75
0
votes
1 answer

ejabberd and riak integration configuration

I am trying to use ejabberd and also use Riak as the backend database for it. I followed the instructions here to the best of my ability but I keep error messages like unrecognized string or something. So I basically set: default_db:…
Dan Csharpster
  • 2,662
  • 1
  • 26
  • 50
0
votes
0 answers

Handling riak CRDT in version 2.1+ using erlang client

The answer in this post about using riak_kv_crdt shows how to extract counters. I can't locate riak_kv_crdt library api documentation. How would one extract the CRDTs such as map from a bucket object in version 2.1.4? I checked riakc_pb but couldn't…
Sal
  • 4,312
  • 1
  • 17
  • 26
0
votes
1 answer

In the Riak java client, how to properly handle the case where a key/value object was not found

Relatively new with Riak development here. I am using a c++ client to connect to a Riak java client that in turn connects to the Riak cluster. The c++ client serializes as a string a query using Google Protocol Buffers in the form of "GET":KEY and…
charis
  • 429
  • 6
  • 16
0
votes
1 answer

How to access my riak-cs object from my browser

I have setup my riak-cs storage. Everything is working well. I have also use erlcloud in creating and retrieving objects stored in riak-cs. However, I also want my riak objects to be accessible from the browser. I have tried…
user4852164
0
votes
1 answer

how to retrieve key from siblings in riak

I have sibling like this "RAtqxEhJvwUGkv54TmRlUaOXwEk" in riak. Now I want to retrive key of this sibling using curl GET request. Is their any way to find out key
achan1989
  • 101
  • 2
  • 10
0
votes
1 answer

How can I implement Pre- and Post-Commit Hooks in Riak?

There is but scant information on the web as to how to actually implement these features of Riak besides this blog post and a few others. Are any client libraries (ripple etc.) capable of receiving messages via the hook so that working with the…
dirkb
  • 403
  • 3
  • 6
0
votes
1 answer

riak 2.0.5 doesnt start with bad_return_value,{error,einval}

When trying to start riak server, it failed to start, by running riak console it shows Erlang R16B02_basho6 (erts-5.10.3) [source-bcd8abb] [64-bit] [smp:4:4] [async-threads:64] [kernel-poll:true] [frame-pointer] [os_mon] memory supervisor port…
Jonathan
  • 11
  • 2
0
votes
1 answer

Riak node join cluster programmatically

I am trying to make join a Riak node to the cluster programmatic but I can't manage to do that. I have tried this operation through web and Riak_control but I have a 403 forbidden HTTP error code. I there any other way to join a cluster programmatic…
AlexGo
  • 487
  • 4
  • 19
0
votes
1 answer

Riak 403 error code when try to PUT at http://localhost:8098/admin/cluster from postman

I am trying to make a call to Riak cluster using a web service. I have observed that Riak web console is using http://localhost:8098/admin/cluster to make calls to the Riak. The problem is that when I try to execute a PUT command from Postman to…
AlexGo
  • 487
  • 4
  • 19
0
votes
1 answer

"Life Beyond Transactions" Entity-Message-Activity Model in Practice?

Over vacation I read Pat Helland's "Life Beyond Transactions" (yes, vacation was that good :). To sum it up briefly, it advocates limiting the scope of transactions to a single entity and then using groups of "activities" that have the ability to…
AndrewO
  • 1,590
  • 1
  • 17
  • 24
0
votes
1 answer

ERROR: Dependency dir /riak/riak_ensemble_demo/deps/cuttlefish/deps/neotoma ; version_mismatch

I aim to get all dependencies and run riak_ensemble on my local machine. However, When I run rebar get-deps, I always encounter: Cloning into 'neotoma'... ERROR: Dependency dir /home/project/riak/riak_ensemble_demo/deps/cuttlefish/deps/neotoma…
indi60
  • 867
  • 4
  • 17
  • 34
0
votes
0 answers

Using riak search to find and update matching documents

What would be the right way of searching riak-search for documents that need correction, then update them ? By design, riak-search is an index that may NOT stick to the riak-kv content. I except that on heavy duty check/write operation that my index…
Guibod
  • 371
  • 1
  • 3
  • 13