Re: Java client: byte arrays as keys?

2012-07-17 Thread Kaspar Thommen
Brian, I just identified a potential issue. In my application code all keys are byte[] arrays (or corresponding 64 bit integers), and in order to make sure I can generate a valid Riak key String from that byte array I convert using ISO-8859-1. However, when looking at PBClientAdapter.store() I see

Re: Java client: byte arrays as keys?

2012-07-17 Thread Brian Roach
Kaspar - Unfortunately it's worse than that. The reason it's doing that is because that's how the underlying, original Protobuf client is handling things - it uses ByteString.copyFromUtf8() on Strings that are passed to store(), fetch(), etc as the key. Basically, above com.basho.riak.pbc.Riak

Re: riak doesn't start on new Macbook Pro Retina

2012-07-17 Thread Mark Phillips
Update to pass along: We're working on the fix for this - https://github.com/basho/riak_api/pull/6 Thanks for the thorough reports. Mark PS - So how *is* the retina display anyway? On Mon, Jul 16, 2012 at 6:48 PM, Shuhao Wu wrote: > I'm also noticing an issue with starting riak. I too cannot

Re: Java client: byte arrays as keys?

2012-07-17 Thread Kaspar Thommen
Thanks Brian, very good news! Kaspar Am 17.07.2012 18:14 schrieb "Brian Roach" : > Kaspar - > > Unfortunately it's worse than that. The reason it's doing that is because > that's how the underlying, original Protobuf client is handling things - it > uses ByteString.copyFromUtf8() on Strings that

Re: riak doesn't start on new Macbook Pro Retina

2012-07-17 Thread Jeff Kirkell
I am just chiming in but could this be an issue with the brew installer? Ages ago, .4x time, I started out using brew and had issues so I switched to pulling from github. May be worth a try. Jeff On Tue, Jul 17, 2012 at 12:47 PM, Mark Phillips wrote: > Update to pass along: > > We're working o

Re: riak doesn't start on new Macbook Pro Retina

2012-07-17 Thread Steve Hull
@jeff -- both the pre-packaged binary from basho.com and the version installed by brew exhibited identical behavior. That said, I did run into a few issues with the brew installer for riak on my "old" Macbook Pro, which seemed be fixed by installing HEAD erlang + HEAD riak (living on the edge!).

Riak Recap for July 12 - 16

2012-07-17 Thread Mark Phillips
Evening, Morning, Afternoon to All - For today's Recap: new code, blogs, docs, funding, and more. Enjoy and thanks for being a part of Riak. Mark twitter.com/pharkmillups --- Riak Recap for July 12 - 16 1) Tom mentioned this on the list yest

Pagination with Ripple

2012-07-17 Thread Martin Stabenfeldt
Dear List, I´m planning to use Riak as my primary DB for my Rails app. The first issue I´ve encountered is pagination. I got a SubscriberList which may contain 1000´s of Subscribers. Any suggestion on how I can implement pagination? My plan was to use will_paginate