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 like REST service with Angular.js client

I used Riak(http://basho.com/riak/) as rest service and Angular on client. When I try to use method "PUT" then first request is OPTION, but Riak doesn't know how to properly respond for this. I found some clients but all of them are made to run on…
Vladimir Kruglov
  • 196
  • 1
  • 19
0
votes
2 answers

JSON Extractor for Array of Strings

In Riak, I have this basic user schema with an accompanying user index (I've omitted the riak-specific fields like _yz_id etc.):
user3594595
0
votes
1 answer

Riak data types: Are the "_" suffixes necessary?

I am using the Riak map data type to store user information in a users bucket. When testing this with a simple curl call, I noticed that it was necessary to append _register to every property name in order for the curl request to be accepted. For…
user3594595
0
votes
1 answer

Riak: query array of 2i through Map Reduce

Can I query an array of secondary indexes in a Map Reduce job in Riak, instead of just the one key? I want to do something like this: "inputs": { "bucket": myBycket, "index": "myIndex", "key": key + " OR " + key + " OR " + key …
Daniel Larsson
  • 6,278
  • 5
  • 44
  • 82
0
votes
1 answer

How to delete entries in riak using MapReduce/Javascript?

I'm replacing a session manager from Django/MySQL to Go/Riak. I need to periodically check for expired sessions and delete them. Any one knows how to delete a register using Riak's javascript/MapReduce using ?
joaonrb
  • 965
  • 11
  • 30
0
votes
1 answer

Riak: 2i query not returning key

I'm just testing out riak. I've set the backend to memory, given it 2GB max and enabled search. I'm using nodejs and simpleriak. I've inserted 100 test objects with the following code: for ( var i = 0; i < 100; i++ ) { //add riak.put({ …
Adam
  • 3,142
  • 4
  • 29
  • 48
0
votes
1 answer

Trouble with PUT/GET in Riak testing

I'm working on a little e2 application that needs to put/get data to/from riak. I apparently have a misunderstanding about some things. I can successfully put and get key-value pairs to a bucket using the erlang client. However, when I try to curl…
mbb
  • 3,052
  • 1
  • 27
  • 28
0
votes
1 answer

What Happens to Riak Links When One Object is Deleted?

In Riak, if a link is created from object A to object B, and object B is then deleted, what happens to the link stored in the metadata of object A? Must the link be manually deleted? Or is it automatically deleted?
user3594595
0
votes
1 answer

maven plugin error after importing project to eclipse

I've imported a Basho Riak Java library as an eclipse project after git cloning it, using the Existing Maven Projects import dialog option of eclipse. I have done that in order to explore this library using eclipse's Open Declaration feature, in…
matanster
  • 15,072
  • 19
  • 88
  • 167
0
votes
2 answers

How to send erlang functions source to riak mapreduce via HTTP?

I'm trying to use Riak's mapreduce via http. his is what i'm sending: { "inputs":{ "bucket":"test", "key_filters":[["matches", ".*"]] }, "query":[ { "map":{ "language":"erlang", "source":"value(RiakObject,…
0
votes
0 answers

Cannot start riak: "Failed to load erlang_js_drv.so"

I have been trying to get riak running on a macbook, following the official guide I have tried pulling the tarball and also installing from source. The result is the same here is the output from riak console: config is OK -config…
jisaacstone
  • 4,234
  • 2
  • 25
  • 39
0
votes
1 answer

Can Riak be used with a third party key value store as the backend

Can Riak be configured to use a third party backend? In a prior question a Basho employee said that you could "edit the config file and restart the server". What else would you need to do to connect a backend vey value store such as rocksDB (built…
Alex
  • 421
  • 5
  • 8
0
votes
1 answer

Riak leveldb Corruption

I'm having the following error : @riak_kv_vnode:maybe_create_hashtrees:178 riak_kv/456719261665907161938651510223838443642478919680: unable to start index_hashtree: {error,{{bad match,{error,{db_open,"Corruption: truncated record at end of…
PythonWolf
  • 1,205
  • 1
  • 9
  • 17
0
votes
1 answer

riak_core node rebalance pending

I have a riak_core ring with 3 physical nodes. When I joined first two nodes in the cluster( by riak_admin cluster plan; risk_admin cluster commit) the risk_admin member-status showed that cluster is in valid state but all the nodes (100%) were…
mbb
  • 3,052
  • 1
  • 27
  • 28
0
votes
1 answer

How can I use Riak connection pool with Beego Framework

I'm developing a back-end using Beego and Riak. I'm searching for a way to keep the riak connection pool alive but I cannot find nothing in documentation besides SQL related. I'm really freshman to the Go language (started learning 2 days ago) and…
joaonrb
  • 965
  • 11
  • 30