Re: Riak 1.4 - Changing backend through API

2013-07-11 Thread Y N
Great, thanks Brian! From: Brian Roach To: Y N Cc: "riak-users@lists.basho.com" Sent: Thursday, July 11, 2013 7:44 PM Subject: Re: Riak 1.4 - Changing backend through API Heya. That feature is code complete and awaiting peer review - the PR for it is h

Re: Riak 1.4 - Changing backend through API

2013-07-11 Thread Brian Roach
Heya. That feature is code complete and awaiting peer review - the PR for it is here: https://github.com/basho/riak-java-client/pull/250 This will be part of the Java Client 1.4.0 release (with all the new 1.4 features) that I hope to have for next week. Thanks, Brian Roach On Wed, Jul 10, 2013

Re: New Counters - client support

2013-07-11 Thread Brian Roach
On Thu, Jul 11, 2013 at 1:48 AM, Y N wrote: > > Thanks, that's helpful. Now I need to figure out if / how this is surfaced > in the Java 1.1.1 client (I don't seem to see it anywhere, but maybe I'm > missing something). It's not. We're about 80% through the 1.4 features with the Java client. I ha

Re: Help with local restore for dev enviroment

2013-07-11 Thread Mark Phillips
Hi Mark, If you need to get the structure the data, your best bet is to pull the content type. You'll need to list-keys [1] on that bucket and then parse the header for each key with a HEAD request, paying special attention to the content-type for the key [2]. Keep in mind we don't recommend using

Re: CorrugatedIron & Idle Connection

2013-07-11 Thread Jeremiah Peschka
We're aware of problems in our implementation of connection disposal on time out and we're working to implement fixes for common error scenarios before we ship 1.4.0 and a hot fix for 1.3.x - while not a complete solution for the unbounded connection pool that you're seeing, this should alleviate s

Riak Recap for July 1st-10th

2013-07-11 Thread Adron Hall
Hello Riak Users! Big bits. Riak 1.4 hit the streets earlier this week. With key new features, some changes and other goodness. From Client API additions to binary format improvements to pagination support in 2i, there's a host of new things to check out. * Give the release notes a read for the f

Re: New Counters - client support

2013-07-11 Thread Y N
This is great. Thanks! From: Sam Elliott To: riak-users@lists.basho.com Sent: Thursday, July 11, 2013 2:51 AM Subject: Re: New Counters - client support On 11 Jul 2013, at 9:55AM, Sam Elliott wrote: > The tutorial/documentation will be out soon (just as

Re: Riak 1.4 documentation issue

2013-07-11 Thread Dave Parfitt
Hello Patrick - You can make documentation pull requests here: https://github.com/basho/basho_docs Cheers - Dave On Thu, Jul 11, 2013 at 11:25 AM, Patrick Durusau wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Greetings! > > I am writing a blog post about my installation of Riak

Riak 1.4 documentation issue

2013-07-11 Thread Patrick Durusau
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings! I am writing a blog post about my installation of Riak 1.4 on Ubuntu 12.04 (precise). When I attempted to run: riak start, I got the following message: Unable to access /var/run/riak, permission denied, run script as root I started ria

RE: CorrugatedIron & Idle Connection

2013-07-11 Thread Amir Halatzi
We've tried that. The result was 3K open connections per Riak node, and as you can guess - this is not an improvement. Do you have other recommendations? Thanks, Amir From: OJ Reeves [mailto:o...@buffered.io] Sent: 11 July 2013 17:31 To: Amir Halatzi Cc: Jeremiah Peschka; riak-users@lists.bash

Re: CorrugatedIron & Idle Connection

2013-07-11 Thread OJ Reeves
This is a discussion we really need to have. Thanks for opening the Github issue. In the short term, you can "turn off" pooling by setting the pool size to zero. This will mean all the connections are done "on the fly". On Fri, Jul 12, 2013 at 12:26 AM, Amir Halatzi wrote: > Just did: > https:

RE: CorrugatedIron & Idle Connection

2013-07-11 Thread Amir Halatzi
Just did: https://github.com/DistributedNonsense/CorrugatedIron/issues/153 Still, if we'd like to manage it ourselves - how would you recommend going about it? Should we interfere with the way you handle the connection, or just retry the action on 'network failure'? BR, Amir From: Jeremiah Pes

Re: CorrugatedIron & Idle Connection

2013-07-11 Thread Jeremiah Peschka
We're in the process of figuring out how to best handle killing off idle connections inside of CorrugatedIron. If you can head over to https://github.com/DistributedNonsense/CorrugatedIron/issues and file a new bug report, that would be fantastic. We've avoided killing off connections until now be

CorrugatedIron & Idle Connection

2013-07-11 Thread Amir Halatzi
Hi all, Trying to optimize our application connection pool, we encountered and issue with Corrugated Iron and identifying idle/reset connections. Namely, if our network infrastructure (firewall/proxy/etc) closes an idle connection - we're getting a 'cluster is offline' error code. I saw that t

Re: New Counters - client support

2013-07-11 Thread Sam Elliott
Hi Brian, We're working on them. The master branch of the Erlang PB client supports them, so I'd imagine its next release will do: https://github.com/basho/riak-erlang-client I can only assume the documentation will land shortly thereafter. Sam On 11 Jul 2013, at 2:13PM, Brian Akins wrote:

Re: New Counters - client support

2013-07-11 Thread Sam Elliott
On 11 Jul 2013, at 9:55AM, Sam Elliott wrote: > The tutorial/documentation will be out soon (just as soon as I polish up some > details). I've now finished the tutorial. It's here: https://github.com/lenary/riak_crdt_cookbook/blob/master/counters/README.md Thank you to everyone who helped ou

Re: New Counters - client support

2013-07-11 Thread Sam Elliott
On 11 Jul 2013, at 4:00AM, Y N wrote: > Hi, > > The counters stuff looks awesome can't wait to use it. > > Is this already supported via the currently available clients (specifically, > the Java 1.1.1 client)? > > Also, when can we expect some tutorial / documentation around using count

Re: New Counters - client support

2013-07-11 Thread Y N
Thanks, that's helpful. Now I need to figure out if / how this is surfaced in the Java 1.1.1 client (I don't seem to see it anywhere, but maybe I'm missing something). From: Jeremiah Peschka To: "riak-users@lists.basho.com" Sent: Wednesday, July 10, 2013

Can't start Riak. Erlang crashes immediately. Memory problem?

2013-07-11 Thread prog112
So I'm running Riak on my VPS Linux machine. I've got 2GB of RAM available so I decided to go with eleveldb backend and I tuned the parameters a bit. However, I can't start my node at all. There are no errors during the riak start command but inspecting the logs show up different messages: 2013-0