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

riak nodes reachable but transfer failed with ehost_unreach

I have a riak ring that has the ownership handoff stuck. The handoff seems stuck due to ehost_unreach. However the ring_status shows all nodes are up & reachable. What can I do to fix the transfer fail problem? Thanks! riak-admin…
Fei Wan
  • 43
  • 1
  • 3
0
votes
1 answer

Riak Java Client failed to compile

I'm working with riak. Trying to access it from Java. Here is the code: package eee.xxx; import com.basho.riak.client.IRiakClient; import com.basho.riak.client.RiakException; import com.basho.riak.client.RiakFactory; import…
PAcan
  • 871
  • 2
  • 15
  • 32
0
votes
2 answers

Riak - Concurrent Erlang Map/Reduce jobs

I'm running Erlang Map/Reduce jobs on Riak. When in the past I used Javascript M/R jobs, I had to tune the JS VM settings properly. At the time I found this conversation to be extremely useful: to…
Mark
  • 67,098
  • 47
  • 117
  • 162
0
votes
2 answers

Concatenate values held in tuples in erlang

I'm trying to write a map phase for riak in erlang and I've hit a problem. I need to concatenate a description and a code, which are separate items and combine them in the form "code-description", which then needs to be given a value of 1 so…
Nickel
  • 533
  • 1
  • 7
  • 20
0
votes
1 answer

Use Net/HTTP to create specific cURL

I have this cURL that works fine running from terminal but I need it to be dynamic so I need to make this call from my model. curl -XPUT -H "content-type:application/json" http://localhost:8098/riak/demo2 -d…
user745235
0
votes
1 answer

Riak: indexing and querying kv data

I would like to implement "indexing and querying kv data" as described in the Riak docs at http://docs.basho.com/riak/latest/cookbooks/Riak-Search---Indexing-and-Querying-Riak-KV-Data/. While there is a little documentation about how to setting up…
aurora
  • 9,607
  • 7
  • 36
  • 54
0
votes
1 answer

Find node/partition where specific data is stored

I am new to riak and try to discover it's potential. At the moment i play around with the N,R,W settings to see the impact. What i miss here is to check, which data is stored on which node/partition. Is there a way to ask only one node, which data…
stb
  • 3,405
  • 2
  • 17
  • 24
0
votes
1 answer

Riak MapReduce Javascript weird output

I have a cluster of 4 riak nodes loaded with data. I am trying to perform a simple MapReduce job which just aggregates, but I am trying to do it by providing my own javascript functions (in order to move then to more involved MapReduce jobs). My…
gpol
  • 966
  • 2
  • 19
  • 30
0
votes
1 answer

How does one upgrade Riak, if it was initially downloaded from source?

Riak has great documentation on how to upgrade Riak if it was initially installed via a package ( http://docs.basho.com/riak/1.2.1/cookbooks/Rolling-Upgrades/ ). But how do you upgrade Riak if you originally downloaded/installed it from source? The…
user782860
  • 2,689
  • 5
  • 18
  • 15
0
votes
1 answer

Riak Search JSON list

I wonder how you can search in Riak Search for list items. e.g.: { "name": "Zombies Eat Brains", "tags": ["zombies", "funny", "lol"] } search-cmd search objects ???
igorgue
  • 17,884
  • 13
  • 37
  • 54
0
votes
1 answer

Difference: Riak.mapValuesJson() and JSON.parse()

I am wondering if there is any difference between Riak.mapValuesJson() and JSON.parse(). I did not know about Riak.mapValuesJson() so in my map reduce functions in my Riak database i kept using JSON.parse() which worked I am not sure if there are…
WojonsTech
  • 1,277
  • 1
  • 13
  • 28
0
votes
2 answers

PHP Riak List Buckets

I am trying to use the Riak client for PHP and I cant find a way to get a list of all the buckets in the cluster. The docs on the Riak site say that it has support for it but i cant find any function that will do it.
WojonsTech
  • 1,277
  • 1
  • 13
  • 28
0
votes
1 answer

Erlang API for bigquery

Is there an Erlang API for bigquery? I would like to use Bigquery from Google Compute Engine in a Linux instance. I would like to run Riak NoSQL there.
Damian
  • 4,395
  • 4
  • 39
  • 67
0
votes
1 answer

Riak connection pool silent disconnection

I got nasty problem in production. We make connection pool with official erlang pb client. Everything works fine. To organize pool we use hottub (we try several,but that is simplest). Each connection used at least once in 3-5 minutes(production is…
0
votes
1 answer

Riak mapreduce function map_object_value return empty result on erlang pb client

I use riak erlang client for my project, and update riak and client library today from master(client to 1.3.1 and server to 1.2.0). Everything works except fetching multiple entities with map-reduce return empty. Instead of usual result {ok,…