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

Deleting an element from a Riak set via protocol buffers using the Erlang client without fetching the whole set

Via the HTTP API, we can delete an arbitrary element from a set without fetching the whole content: curl -X POST http://127.0.0.1:8098/types/sets/buckets/travel/datatypes/cities -H "content-type: application/json" -d '{ "remove" : "Toronto" }' (to…
attila_s
  • 170
  • 9
0
votes
2 answers

riak.conf changes needed for riak-cs to work

I am trying to install riak-cs 1.5.3 on Ubuntu 12.04 LTS. It requires to setup riak first. I installed riak 2.0.0 and it starts gracefully with default settings. However for riak-cs to work, there are some settings that need to be changed on riak.…
0
votes
1 answer

Why on testing a Riak node 'riak-admin test' fails but 'curl -v http://127.0.0.1/8098/types/default/props' succeeds

I am setting up a riak cluster of five physical nodes. The other four are fine with all tests except one fails the admin-riak test. The cluster state on several riak-admin commands is shown below do-admin@DBNode1:~$ sudo riak-admin member-status …
0
votes
1 answer

Riak Cloud Storage gives me Forbidden access message after successful access many times before

After many times of successful access to Riak CS storage using boto, it suddenly gave me this message: S3ResponseError: S3ResponseError: 403 Forbidden InvalidAccessKeyIdThe AWS…
securecurve
  • 5,589
  • 5
  • 45
  • 80
0
votes
0 answers

Riak 2.0 Java client returns empty collection on Map-Reduce

I've been trying to get a simple map-reduce working all day. While I'd like to make a map-reduce which does a batch roll-up of keys using a key-filter, for no all I'm trying to do is get MR to return the values in a particular bucket. Here's my…
jsuereth
  • 5,604
  • 40
  • 40
0
votes
2 answers

riak-admin reports node not running but REST API responds

I have a 5 node Riak cluster running. I ssh to node 1 and run 'riak-admin test' the output of which is "Node is not running!"..however the REST API responds (eg http://{localhst}:8098/stats returns JSON stats as expected) and I can run a client…
Myles McDonnell
  • 12,943
  • 17
  • 66
  • 116
0
votes
1 answer

Curl latin1 encoding

I want to post: curl -v -X PUT http://192.168.56.12:10018/riak/vijesti/novadjnada -H "Content-Type: application/json" -d '{"naslov":"Animal","text":"This is croatian word: Šišmiš"}' But when I read that data on Riak on text property there is "This…
DynamicsNinja
  • 177
  • 1
  • 3
  • 17
0
votes
3 answers

Update Riak json data via ASP.NET

For example I have JSON object: { "title":"Computer science" "comments":["Good article","Need updates"] } and I have one new comment that I want to add into that object stored on Riak. Path to this object on Riak is…
DynamicsNinja
  • 177
  • 1
  • 3
  • 17
0
votes
1 answer

Insert JSON into Riak via curl

I have JSON: { title: "Some title", author: "Name", text: "This is text..." } that I want to store to my Riak via curl.I'm using command: curl -v -X PUT http://192.168.56.12:10018/riak/news/news1 -H "Content-Type: application/json" -d…
DynamicsNinja
  • 177
  • 1
  • 3
  • 17
0
votes
1 answer

Does riak 2.0 allow object updates to be atomic with solr updates?

When I update an object that which is being indexed by solr, I enter an inconsistent state between riak and solr. Is it possible to create a post commit hook to inform me when the update to solr has been completed so that I can guarantee that the…
Matt
  • 978
  • 10
  • 24
0
votes
1 answer

Weird RIAK behavior

I'm a sysadmin and I managing 5 cluster of RIAK: two of them are LXC containers on the same physical machine (3 nodes per cluster) one of them are LXC containers located on different physical machines (6 nodes) one of them are LXC containers…
DemonCcC
  • 31
  • 1
  • 3
0
votes
1 answer

$object->getData() returns null even though in DB there is data

I just started using Riak (for a college project) and we got a CentOS machine with Riak 1.4.2 on it. I made a bucket called "testbucket" and in it key,value pair "helloworld", "Hello World!" using curl. Then I tried fetching the data using curl and…
mercin
  • 15
  • 4
0
votes
1 answer

CRASH REPORT Process and show list of bucket very slow in riak

I setup complete riak system. but It's have a problem, when i use s3cmd to list bucket by s3cmd la, then it's show very slow. I use Riak 1.4.10 combine Riak-cs 1.5.0, This log excerpt from Riak-cs log (/var/log/riak-cs/error.log), It's show…
0
votes
2 answers

[PHP-RIAK]: How to display a part of some JSON data

I am fetching JSON data from my riak database and I can display it using print_r($data), but when I try to display the info associated with 'text' in the JSON data, I get this error message: PHP Warning: json_decode() expects parameter 1 to be…
Jazzbaron
  • 75
  • 11
0
votes
1 answer

RIAK get http://host/riak/people/key "not found"

riak working on cluster from 2 servers. riak-admin status | grep ring_members ring_members : ['riak@server1.local','riak@server2.local', write data in server1 for i in {1..1000}; do curl -i -XPOST 'http://server1.local:8098/riak/people/'$i'' -H…
Evgeny
  • 11
  • 1