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

Change n value (replicate value) not complete in riak

I have a riak system, i try change replicate value, but not commplete. I use command line to change: curl -v -XPUT \ -H "Content-Type: application/json" \ -d '{"props":{"n_val":2}}' \ http://:8098/buckets//props then, I…
0
votes
1 answer

Why does PW=all and PR=all not give strong consistency in Riak?

Suppose we have a 5 machine cluster with n_val = 3. Why does setting PW=3 and PR=3 for writes and reads not guarantee strong consistency?
user782220
  • 10,677
  • 21
  • 72
  • 135
0
votes
1 answer

Deletion object in bucket but size storage not increase into riak

I setup one system consist of riak, riak-cs and stanchion into a server, i used s3tool for put object into riak, but when i delete object, it notification "File s3://buckets/object deleted", i check size in /var/lib/riak then it's not increase.…
0
votes
0 answers

How to properly mock riakc_pb_socket with meck?

Using Erlang R16B02, riakc 2.0.0 and meck 0.82: When trying to mock riakc_pb_socket in my unit tests it blows up. Here's what I get: > erl -pa ebin deps/*/ebin Erlang R16B02 (erts-5.10.3) [source-b44b726] [64-bit] [smp:2:2] [async-threads:10]…
Khorkrak
  • 3,911
  • 2
  • 27
  • 37
0
votes
1 answer

How to change riak storage backend property using Scala/Java code

Is there any way to override riak default property using Scala/Java code? {riak_kv, [ ..., {storage_backend, riak_kv_memory_backend}, ... ]}
Ayush Mishra
  • 567
  • 1
  • 7
  • 19
0
votes
1 answer

NodeJS client library for riak

I am starting a project that will use riak with nodejs. I see number of community supported libraries in nodejs for riak in basho site -- http://docs.basho.com/riak/latest/dev/using/libraries/#Basho-Supported-Libraries . Can anybody point me to any…
rahul
  • 3,018
  • 4
  • 29
  • 28
0
votes
1 answer

Which should I choose: Riak, Riak CS or both at the same time?

First some background, we have an application that need to store both json data and media assets (images, recorded sounds). When looking at Riak I can see that right now we would be just fine with "normal" Riak since we don't handle very big files.…
Magnus
  • 3,691
  • 5
  • 27
  • 35
0
votes
1 answer

[ERLANG]: Creating a webclient using Riak and Erlang in back-end

I want to somehow connect my riak database to a website using Erlang. I have some data stored within my database but I can't quite make the connection between the two, to configure the middleware which will enable this to happen. What I have tried…
Jazzbaron
  • 75
  • 11
0
votes
1 answer

How to make Riak return links from Riak Search

If I do the following, the response header will contain a list of this object's links. curl -v http://ip:port/riak/tests/aKey However, if I search for the same object using Riak Search, I get the correct object but without any Riak-specific…
Daniel Larsson
  • 6,278
  • 5
  • 44
  • 82
0
votes
1 answer

Riak yokozuna (solr) search stopped working after join

Are there additional steps you need to take after joining new Riak nodes to a cluster to set up yokozuna/solr? Solr was working on one node. When I joined two additional nodes solr seems to have stopped. Solr is not running any of the nodes,…
Oakland510
  • 1,073
  • 2
  • 12
  • 20
0
votes
1 answer

Connect to Riak and store data via Erlang

My goal of test module is to start storing data that I input on my own in my local node. I have set up a local node on my computer. I also attached a new erlang module to it via riak attach. In my module test.erl there is only riakConnect function…
Gabriele
  • 25
  • 8
0
votes
1 answer

Getting the objects with similar secondary index in Riak?

Is there a way to get all the objects in key/value format which are under one similar secondary index value. I know we can get the list of keys for one secondary index (bucket/{{bucketName}}/index/{{index_name}}/{{index_val}}). But somehow my…
vWebby
  • 29
  • 1
  • 5
0
votes
0 answers

Riak and index - how to check the index a particular bucket has?

I am very much new to riak and I am currently using it with an API. So, let me explain my scenario. There is an account - say example@riaktest.com created under accounts bucket. So, on doing localhost:8098/buckets/accounts/keys?keys=true it returns…
druuu
  • 1,676
  • 6
  • 19
  • 36
0
votes
1 answer

RIAK - datatypes - map usage in python

I got Map datatype that I am storing in RIAK. It's Map that contains few Maps that contain counters. The expected output of serializing to json program would be: { "sample_map_key" : { "maps" : { "Q1" : { "counters" : { …
Rekr
  • 11
  • 2
0
votes
1 answer

Not able to store data in original riak bucket

I have installed riak 2.0.1 on my machine. I am trying to store an object with a key in riak bucket. But I am stuck in a weird problem. My actual bucket name is "abc-client". When I try to save data in this bucket, I am getting below error on…
Ayush Mishra
  • 567
  • 1
  • 7
  • 19