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 2i - list index values

Is it possible to list all secondary index values previously saved in Riak bucket (leveldb, 2i enabled)? Having the following data in Riak: curl -XPOST localhost:8098/types/indexes/buckets/users/keys/x -H 'x-riak-my_bin: a' curl -XPOST…
Pavel S.
  • 11,892
  • 18
  • 75
  • 113
0
votes
1 answer

Can riak query language be applied to RiakCS objects?

Riak supports rich query language including term searching, and fields. Additionally, Riak indexes json documents as key/values which support fields. I'm storing some objects into riak through RiakCS which exposes an implementation of the S3 API,…
Guillaume Berche
  • 3,049
  • 2
  • 17
  • 18
0
votes
2 answers

Connection closed unexpectantly when running Riak's sample TasteOfRiak.java

I'm getting started with Riak, when I run the sample TasteOfRiak.java (I changed node port from 10017 to 8098) I get a Connection closed exception. Here is the logs: Basic object created Location object created for quote object StoreValue operation…
bachr
  • 5,780
  • 12
  • 57
  • 92
0
votes
2 answers

Understanding Quorum/Vnode (R vs PR)

I was doing some experiments to understand Riak. Here's something intersting I found: I have a cluster of 2 nodes and a bucket type that has n_val of 2 [root@co-riak002 ~]# riak-admin ring-status ================================== Claimant…
saladinxu
  • 372
  • 1
  • 2
  • 12
0
votes
1 answer

Realtime data replication from DataBase to front end in java based web application

I am building a customer support web application (java based) where I need to show all "Customer Representative(CR)" status (available, busy, away in phone) in the front-end. If CR terminates the call after talking to someone, status will get…
Vijai P
  • 1
  • 2
0
votes
0 answers

Connecting java RiakClient to Riak container in Docker

I've been struggling for days on connecting Java to Riak running in a Docker container. If someone can help me, i'll be very greatfull. I'm using RiakClient as API for JAVA. But i can't figure out how build the RiakClient in the constructor…
TheBlueBird
  • 33
  • 1
  • 5
0
votes
1 answer

Riak CS cannot start with log.syslog=on

In /etc/riak-cs/riak-cs.conf I've changed log.syslog=off to log.syslog=on After that service riak-cs start returns 18:33:51.427 [error] Error generating configuration in phase apply_translations 18:33:51.428 [error] Translation for 'lager.handlers'…
0
votes
0 answers

Riak Server Returning Error 404

I've installeld Riak 2 on a Centos 6 box and I've managed to boot Riak but now get this error when I try to test it: curl -v http://:8098/types/default/props * About to connect() to port 8098 (#0) * Trying ...…
Devin Dixon
  • 11,553
  • 24
  • 86
  • 167
0
votes
1 answer

Riak Nodes and Cluster Backup

I have a riak node that has a lot of data on it but IS NOT part of a cluster, and I have a cluster with 2 nodes with no data on it. The command backup riak@127.0.0.1 riak /dev/nodebackup.dat all Does not seem to be working anymore, and the backup…
Devin Dixon
  • 11,553
  • 24
  • 86
  • 167
0
votes
2 answers

Yokozuna solr schema file enum support

In our solr schema file, we are defining enum field types and specifying an external enums.xml file in the enumConfig parameter. However, we have to manually copy that file to the /conf directory of the search index we’re creating or updating. Is…
0
votes
1 answer

RIAK riak-erlang-client Key values integerbinary (::<<_|128>>)

I try to use the okeuday/uuid lib to generate a <<_|128>> V4 UUID and use that as my RIAK Key to store data. I use the git://github.com/basho/riak-erlang-client.git master Version. When i use the binary int as key no data is stored and i got no…
canislupax
  • 56
  • 3
0
votes
1 answer

Any Riak Yokozuna custom erlang term extractor available?

My basic requirement is proplist actually and I guess I can write a custom extractor for application/erlangproplist. Just out of curiosity, as Riak is written in Erlang, is there any Erlang term extractor already available out there? It's going to…
Hao
  • 6,291
  • 9
  • 39
  • 88
0
votes
1 answer

Riak CS public ACL by default for new objects

Is it possible to make Riak CS apply ACL with public access by default upon new bucket or file in some bucket created? I mean I wanna put files for example using simply s3cmd put file.jpg s3://my-bucket And I'd like to have file.jpg in my-bucket to…
Miriam
  • 7
  • 3
0
votes
2 answers

Riak CS how to get list of all buckets and all files

I was surprised to not find in documentation the answer on really simple questions: How can I get the list of all buckets and all files in my Riak CS installation? Also I need to have access to all those files in all buckets with some "root" account…
Miriam
  • 7
  • 3
0
votes
2 answers

Running riak nodes as cluster on different ec2 instances

I have setted up riak in two seperate instances and the nodes are up. Also I am able additional nodes in the same machine and do clustering. I am stuck here joining a node on the other instance. Below are steps I have followed. stopped…
Niyasim
  • 76
  • 5