Storing JSON via Erlang Client

2013-10-16 Thread Ari King
Hi, Does anyone know of any examples illustrating how to store json values via the erlang client? I've recently started learning riak & erlang, so straight forward/simple examples would be appreciated. Thanks. -Ari ___ riak-users mailing list riak-users

Re: List buckets results in error: bad_utf8_character_code

2013-10-16 Thread Toby Corkindale
On 17/10/13 11:54, Toby Corkindale wrote: If I run curl -i "http://bld-riak/buckets?buckets=true"; I receive this error about a bad utf8 character code, and nothing else. This is Riak version 1.4.2-1 (from the official apt repo) HTTP/1.1 500 Internal Server Error Vary: Accept-Encoding Server:

Re: Fetch method returns null point exception error

2013-10-16 Thread 성동찬_Chan
Hi! Luke I'm using JAVA Client. Also I don't use http, so it's protocol buffers. (Below method) http://docs.basho.com/riak/latest/dev/taste-of-riak/java/ Thanks. 2013. 10. 16., 오후 11:46, Luke Bakken mailto:lbak...@basho.com>> 작성: protocol buffers _

List buckets results in error: bad_utf8_character_code

2013-10-16 Thread Toby Corkindale
If I run curl -i "http://bld-riak/buckets?buckets=true"; I receive this error about a bad utf8 character code, and nothing else. This is Riak version 1.4.2-1 (from the official apt repo) HTTP/1.1 500 Internal Server Error Vary: Accept-Encoding Server: MochiWeb/1.1 WebMachine/1.10.0 (never brea

Re: Riak and Riak CS Community Survey

2013-10-16 Thread Sean Cribbs
Hi Alex, I'm on the team that has been adding datatypes to Riak. We considered sorted sets, but wanted to focus on the bread-and-butter datatypes first. I suspect we'll look at sorted sets again in a future release. On Wed, Oct 16, 2013 at 4:01 PM, Alex Rice wrote: > Hey I would like some swag

Re: vm.swappiness ?

2013-10-16 Thread Jared Morrow
It is checked by 'riak-admin diag' if you run that to check your system. -Jared On Wed, Oct 16, 2013 at 2:33 PM, Alex Rice wrote: > Thanks for confirming, Matthew! That might be a good check for the > startup script, much like I think it currently complains about ulimit > is not set to the M

Re: Riak and Riak CS Community Survey

2013-10-16 Thread Alex Rice
Hey I would like some swag! Or schwag, or even some bling! Seriously I submitted the survey, but realized later that this is one of the data types I would love to see in Riak: http://redis.io/commands#sorted_set On Tue, Oct 15, 2013 at 2:25 PM, Hector Castro wrote: > Hi everyone, > > We'd since

Re: vm.swappiness ?

2013-10-16 Thread Alex Rice
Thanks for confirming, Matthew! That might be a good check for the startup script, much like I think it currently complains about ulimit is not set to the Max. On Wed, Oct 16, 2013 at 2:31 PM, Matthew Von-Maszewski wrote: > recommend value for Riak is zero. > > On Oct 16, 2013, at 4:28 PM, Alex R

Re: vm.swappiness ?

2013-10-16 Thread Matthew Von-Maszewski
recommend value for Riak is zero. On Oct 16, 2013, at 4:28 PM, Alex Rice wrote: > Just an informal poll- what is preferred for Linux vm.swappiness > setting for Riak in a *cloud* environment? The default is 60 - a lot > of stuff gets swapped out. This is good for OS disk cache. > > I am thinkin

vm.swappiness ?

2013-10-16 Thread Alex Rice
Just an informal poll- what is preferred for Linux vm.swappiness setting for Riak in a *cloud* environment? The default is 60 - a lot of stuff gets swapped out. This is good for OS disk cache. I am thinking vm.swappiness = 0 - Avoid slow & potentially costly I/O operations in the virtualized envi

Re: Fetch method returns null point exception error

2013-10-16 Thread Luke Bakken
Hello Chan, What client library are you using to communicate with Riak, and, are you using protocol buffers or HTTP? -- Luke Bakken CSE lbak...@basho.com On Tue, Oct 15, 2013 at 8:31 PM, 성동찬_Chan wrote: > Hi~! > > I'm testing riak as a cache server with 6 server cluster, 2 hours > expiration