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

ERROR REPORT Generic server <0.35.0> terminating Last message in was {req_timeout,#Ref<0.0.0.60>}

I am going through the riak-erlang-client https://github.com/basho/riak-erlang-client. As i am following the steps, i am facing error at storing the data. I did the following: 2> {ok,Pid} =…
Krish gopi
  • 155
  • 4
  • 12
0
votes
1 answer

How to do MapReduce on Riak with Erlang to get even values from all the keys storing the numbers from 1 to 1000

I am trying to do mapreduce on Riak with Erlang. I am having data like the following: Bucket = "Numbers" {Keys,values} = {Random key,1},{Random key,2}........{Random key,1000}. Now, I am storing 1000 values from 1 to 1000, where all the keys are…
Krish gopi
  • 155
  • 4
  • 12
0
votes
1 answer

Riak "w" is less than "n_val" clarification

Consider Riak cluster with 5 nodes (A,B,C,D,E) in it, n_val = 3: 1) Coordinator node store (k,v) pair with w=2 that should go to node A and replicas should go to nodes B and C, according to consistent hashing. Consider node C is down. Riak is able…
andrershov
  • 460
  • 3
  • 12
0
votes
1 answer

How to ensure strong consistency for Riak client when using a load balancer?

I am playing with Riak 1.4.7 in order to get an insight about its characteristics. As I know the recommended best practice mode of production Riak operation suggests placing Riak behind a load balancing. For this purpose, we can use HAProxy. Can…
attila_s
  • 170
  • 9
0
votes
1 answer

riak mapreduce with limit on response size in java

I'm trying to run a mapReduce query on Riak 1.4 that queries by secondary index, sorts the records by date, and then limits the results to the first record. I've got the secondary index query working. The sort doesn't seem to do anything. No…
user3179263
  • 170
  • 1
  • 5
0
votes
1 answer

Any good guides for writing custom Riak SOLR search analyzers?

In short, I need to search against my Riak buckets via SOLR. The only problem is, is that by default SOLR searches are case-sensitive. After some digging, I see that I need to write a custom SOLR text analyzer schema. Anyone have any good references…
Vic
  • 53
  • 5
0
votes
1 answer

Dynamically setting bucket time-to-live on Riak and Bitcask with riak-js

Is it possible to change the expiry_secs parameter on bitcask buckets dynamically? Calling riak.saveBucket('bucket', {expiry_secs: 60}); will cause subsequent calls of riak.getBucket('bucket') to report 60 as the key ttl, but keys never seem to…
giaour
  • 3,878
  • 2
  • 25
  • 27
0
votes
3 answers

Trying to return paged results with Riak using continuation hash - NoSQL pagination

Edit: I added an answer with a more generic approach for NoSQL situations. I am working on a project using Riak (with LevelDB). Using the REST API that Riak offers, I am able to get data based on indexes and a range, which returns the results sorted…
Jazzy
  • 6,029
  • 11
  • 50
  • 74
0
votes
1 answer

Recommended Riak mapreduce Javascript VM pool size for map and reduce phases? (mapred timeout error)

I was wondering if anyone can recommend app.config settings for map and reduce Javascript VM pools? My current setup consists of two (2) Amazon EC2 m1.medium instanes in the cluster. Each server has a single CPU with ~4GB of RAM. My ring size is set…
Vic
  • 53
  • 5
0
votes
0 answers

How to overcome the serialization error in datatime?

Hi friends I have data in dict format as shown., data = {'x':'some data', 'last_login': datetime.datetime(2014, 3, 6, 8, 41, 59, tzinfo=), ...} Now when I am trying to store this data in riak I am getting type error and its raising an…
RaviKiran
  • 753
  • 1
  • 6
  • 13
0
votes
1 answer

Using the Erlang client library from Riak in Nitrogen

This question is a continuation of Including the Erlang client lib which was asked before. I was able to include the library by changing: {mimetypes, ".*", {git, "git://github.com/spawngrid/mimetypes", {branch, master}}}, %% Uncomment the…
neildaemond
  • 656
  • 1
  • 8
  • 17
0
votes
4 answers

Does anyone know how I can store large binary values in Riak?

Does anyone know how I can store large binary values in Riak?
yazz.com
  • 57,320
  • 66
  • 234
  • 385
0
votes
1 answer

Suitable NoSQL database to implemet download server

I need a NoSQL database to store our files with following specification: easy Clustring Distributed Automatic failover easily scalable Fast I have searched and find some solution like "MongoDB GridFS" or "Riak" but i think i have to research more…
Saeed Zarinfam
  • 9,818
  • 7
  • 59
  • 72
0
votes
1 answer

riak-js key_filters string_to_int status code 500

I could not make key_filter work with string_to_int transformation always get status code 500. My object structure is the following: { "style": "double", "capacity": 6 } My map function: var client = require('riak-js') .getClient({host:…
Darius Kucinskas
  • 10,193
  • 12
  • 57
  • 79
0
votes
1 answer

Riak.js how to get keys with getAll

I'm currently using riak.js as a client for a riak database, do any of you know how to retrieve the keys along with all the results? current query im using is db.getAll('scores'); Thanks in advance.
TheNickyYo
  • 2,389
  • 5
  • 20
  • 28