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

Error on Riak ( 2.1.1 ) startup

I have an error trying to start riak after compiled it from the source code (riak 2.1.1). soft67:bin Humberto$ ./riak start !!!! !!!! WARNING: ulimit -n is 2560; 65536 is the recommended minimum. !!!! riak failed to start within 15 seconds, see the…
humberto
  • 23
  • 4
0
votes
1 answer

riak won't start after changing nodename

I've just installed riak on my virtual machine (Ubuntu 14.04). The problem is that when I've edited /etc/riak/riak.conf from: nodename = riak@127.0.0.1 to nodename = riak@10.20.0.110 which is ip of my virtual machine, service won't start. I got…
Jakub Kuszneruk
  • 1,188
  • 1
  • 12
  • 37
0
votes
1 answer

How to pre-process Riak data entry before sending it to a client

I have a Riak installation with many nodes. It stores entries, with relatively big blobs on a value side. In some cases, clients will need only a subset of this data, so there is no need to transfer them over the network. Is there any elegant…
aav
  • 2,514
  • 1
  • 19
  • 27
0
votes
1 answer

Delete Map with key in riak

I am using riak php client and have datatype map. I want to delete entire map by key which is itemid. here is my code $location = new Location($itemID, $this->itemBucket); $map = (new \Command\Builder\FetchMap($this->riak)) …
Kamran
  • 2,711
  • 2
  • 17
  • 24
0
votes
1 answer

Riak CS LDAP authentication

I read here that Riak CS supports LDAP for authentication: http://bit.ly/1Rb2yTF "Pluggable Authentication/Authorization for Integration with Existing Infrastructure – Riak CS provides an extensible authentication system, enabling integration with…
marcv81
  • 850
  • 8
  • 22
0
votes
1 answer

Can I change allow_mult to false on map bucket/bucket type in riak?

How can I change the allow_mult property to false on map data type bucket or bucket type? I tried this but not working. >riak-admin bucket-type update maps '{"props":{"allow_mult":false}}' Error updating bucket type maps: Cannot change datatype…
Hao
  • 6,291
  • 9
  • 39
  • 88
0
votes
1 answer

boot2docker resulting in "Cannot connect to the Docker daemon. Is 'docker -d' running on this host?"

I'm new to docker and trying to run this project on OS X 10.10. Docker is installed through brew and looks good in the basics: ➜ docker-riak git:(develop) docker -v Docker version 1.6.2, build 7c8fca2 ➜ docker-riak git:(develop) boot2docker…
mbb
  • 3,052
  • 1
  • 27
  • 28
0
votes
1 answer

Storing News in a Distributed DB vs RDBMS

Hi all: If I am storing News articles in a DB with different categories such as "Tech", "Finance", and "Health", would a distributed database work well in this system vs a RDBMS? Each of the news items would have the news articles attached as well…
tesserakt
  • 3,231
  • 4
  • 27
  • 40
0
votes
0 answers

How to write performance oriented map/reduce query in Erlang

I am running a Erlang Map/Reduce on riak . In a bucket there are 57000 records where my map phase is getting the filtering records by 14 seconds. -module(chatlogs). -author("gopi"). %%…
Gopi Krishna
  • 108
  • 2
  • 16
0
votes
1 answer

Riak search returning "No index" and "(23) Failed writing body"

I have a test system and I've created and activated libraries as a search property on the bucket type clients. ➜ riak-2.1.0 curl…
mbb
  • 3,052
  • 1
  • 27
  • 28
0
votes
1 answer

Riak Java HTTPClientAdapter TCP CLOSE_WAIT

TLDR: Lots of TCP connections in OPEN_WAIT status shutting down server Setup: riak_1.2.0-1_amd64.deb installed on Ubuntu12 Spring MVC 3.2.5 riak-client-1.1.0.jar Tomcat7.0.51 hosted on Windows Server 2008 R2 JRE6_45 Full Description: How do I…
Pytry
  • 6,044
  • 2
  • 37
  • 56
0
votes
2 answers

Get arbitrary object from Riak bucket

Is there a way to get a random object from a specific bucket by using Riak's HTTP API? Let's say that you have no knowledge about the contents of a bucket, the only thing you know is that all objects in a bucket share a common data structure. What…
Daniel Larsson
  • 6,278
  • 5
  • 44
  • 82
0
votes
1 answer

Best practice connecting to Riak cluster

I'm migrating my application from Riak 1.4 to Riak 2. In the past I have been colocating my application on every node of the Riak cluster. It connects only to the local Riak node (at localhost:8087), monitors the availability of Riak and advertises…
Hank
  • 4,597
  • 5
  • 42
  • 84
0
votes
0 answers

lsof shows difference in open file descriptors in riak process

When I am doing lsof -l it shows all open file descriptors (~180000), but when I am checking lsof -lp pid shows only ~1000. I know that process with pid pid has ~170000 file descriptors open. Here are logs: root@riak:/proc/3238# lsof -l | grep 3238…
Sławosz
  • 11,187
  • 15
  • 73
  • 106
0
votes
1 answer

Determine Location of RiakObject during conflict resolution

I am in the process of migrating my Java code from Riak Client 1.4 to Riak Client 2.0. I'm storing a BinaryValue in Riak 2.0, encapsulated in a RiakObject. I need to provide my own ConflictResolver to deal with siblings, but in order to do that I…
Hank
  • 4,597
  • 5
  • 42
  • 84