The Riak Ruby Client has been updated to version 2.2.2, which is a bugfix
release.
* Corrected Hidekazu Tanaka's name in the 2.2.1 release notes.
* Deleting maps inside map CRDTs works, thanks to Kazuhiro Suzuki.
* Fix `Riak::Search::Index` documentation in the readme, thanks to Zshawn
The Riak Ruby client version 2.2.1 is now available. This gem is an
officially-supported client for the Riak key-value database, including support
for key-value objects, buckets, bucket types, bucket properties, Riak
Search/Yokozuna, secondary indexes, and more.
This version, 2.2.1, is a
The Riak Ruby client version 2.2.0 is now available. This gem is an
officially-supported client for the Riak key-value database, including support
for key-value objects, buckets, bucket types, bucket properties, Riak
Search/Yokozuna, secondary indexes, and more.
This version, 2.2.0, is a
> Then I tried using Ruby client, and problem came. Below is the code I
> > extract from Riak Ruby client github page:
> >
> > require 'riak'
> >
> > client = Riak::Client.new(pb_port: 8098)
> > bucket = client.bucket('rooms')
> >
starting the Riak server, I can interact with it via http interface
> properly.
> Then I tried using Ruby client, and problem came. Below is the code I
> extract from Riak Ruby client github page:
>
> require 'riak'
>
> client = Riak::Client.new(pb_port: 8098)
>
from Riak Ruby client github page:
> require 'riak'
>
> client = Riak::Client.new(pb_port: 8098)
> bucket = client.bucket('rooms')
>
> # Get an object from the bucket
> object = bucket.get_or_new("index.html") # a Riak::RObject
>
&
Riak Ruby Client 2.1.0 is a feature release.
New features:
* Instrumentation: if the `instrumentable` gem is loaded, the client exposes
several event hooks to `ActiveSupport::Notifications`. Read the README for
more information, and if you'd like other events to be instrumented, p
Riak Ruby Client 1.4.5 includes:
Feature:
* Instrumentation: if the `instrumentable` gem is loaded, the client exposes
several event hooks to `ActiveSupport::Notifications`. Read the README for
more information, and if you'd like other events to be instrumented, please
file GitHub i
Eager to get the jump on testing your Ruby application that talks to
Riak 2.0? We've released a release candidate of Riak Ruby Client 2.0.0.
**WARNING**: this is pre-release software! There are bugs waiting to be
discovered and fixed. If you do discover shortcomings and problems, please
fi
Hello!
The riak-ruby-client gem was updated to 1.4.2 in the last few minutes. Release
1.4.2 fixes a couple bugs and a documentation/usability issue.
Issues:
* Secondary index queries against non-2i-enabled buckets/backends now raise a
useful exception.
Bugfixes:
* 2i Requests over PBC
lib error is obscuring what's really happening in the
> background.
>
> What backend are you using?
>
> If it is bitcask then this will not work and you need to switch to one
> that supports 2I, like levelDB:
>
>
> https://github.com/basho/riak-ruby-clien
:in
> `finish'
I think the Zlib error is obscuring what's really happening in the background.
What backend are you using?
If it is bitcask then this will not work and you need to switch to one
that supports 2I, like levelDB:
https://github.com/basho/riak-ruby-client/wiki/Secondary-Index
p would be appreciated.
More error details below:
-- Control frame information -------
c:0024 p:0040 s:0122 e:000122 BLOCK
/crunchbase/open_source/riak-ruby-client/lib/riak/client/net_http_backend.rb:65
[FINISH]
c:0023 p: s:0119 e:000118 CFUNC :each
c:0022
Good morning/afternoon/evening Riak users!
I've released riak-ruby-client 1.4.1 moments ago. This version of the gem fixes
a few minor bugs and issues.
Issues:
* Test for object existence using head request, reported and fixed by
Elias "eliaslevy" Levy in https://github.com/
e jobs.
If you currently use link walking, would it be problematic to have it
implemented in a separate riak-client-linkwalking client-side gem
instead of on the Riak server?
Bryce Kerley
Software Engineer
Basho Technologies
br...@basho.com
1: https://github.com/basho/riak-ruby-client/p
Hello Riak users!
We released 1.4.0 of the riak-ruby-client mere minutes ago! This version of the
gem includes Riak 1.4 feature support, and a few bug fixes:
Features for all Riak versions:
* Multi-get parallelizes fetching multiple objects from one or more
buckets.
Features for Riak 1.4
Hey riak-users,
I'm happy to announce the release and immediate availability of
riak-client version 1.1.0.
Release 1.1.0 includes full Riak 1.2 compatibility, and includes
improvements to the handling of siblings, the node generation
tools, and resolves a number of important bugs.
Features:
* C
i am writing a script which has utility functions for connecting to a
cluster, get, put, delete etc
https://gist.github.com/3022760
are there any failure scenarios that i have missed?
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.
Any tips on how the documentation could be improved would be appreciated!
See also http://github.com/basho/riak-ruby-client/wiki
On Fri, Jun 22, 2012 at 12:08 PM, Anand Hegde wrote:
> I see :embarassed
> ___
> riak-users mailing list
>
I see :embarassed
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Like this?
puts obj.raw_data
On Fri, Jun 22, 2012 at 11:05 AM, Anand Hegde wrote:
> thanks a lot. Is there anyway I can output the original html data that I
> stored?
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.co
thanks a lot. Is there anyway I can output the original html data that I
stored?
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Use #raw_data= instead of #data=. The #data= accessor assumes you want to
turn Ruby objects into serialized types.
On Fri, Jun 22, 2012 at 10:43 AM, Anand Hegde wrote:
> ok, now the error is this
>
> /Users/anandhegde/.rvm/gems/ruby-1.9.3-p0/gems/riak-client-1.0.3/lib/riak/serializers.rb:26:in
>
ok, now the error is this
/Users/anandhegde/.rvm/gems/ruby-1.9.3-p0/gems/riak-client-1.0.3/lib/riak/serializers.rb:26:in
`block in serializer_for': No serializer has been registered for content
type "text/html" (NotImplementedError)
from
/Users/anandhegde/.rvm/gems/ruby-1.9.3-p0/gems/riak-client-1
sorry, I hadnt started the nodes,
curl localhost:8091/ping
now gives OK
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
it says couldnt connect to host
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Anand, what does this give you?
curl localhost:8091/ping
Reid
On Jun 22, 2012, at 10:08 AM, Anand Hegde wrote:
> I just did that and its still giving the same error. Even this simple script
> is returning false
>
> require 'riak'
> client = Riak::Client.new(:nodes => [{:http_port => 8091},{:h
I just did that and its still giving the same error. Even this simple
script is returning false
require 'riak'
client = Riak::Client.new(:nodes => [{:http_port => 8091},{:http_port
=>8092},{:http_port=>8093},{:http_port =>8094}])
puts client.ping
___
ria
nfig
> /Users/anandhegde/dev/dev3/libexec/etc/app.config -pa ./lib/basho-patches
> -name dev3@127.0.0.1 -setcookie riak -- console
> anandhegde 7115 0.0 0.0 2434892540 s000 R+7:13PM
> 0:00.00 grep beam
>
>
> After this I installed the riak-ruby-client gem as given he
/Users/anandhegde/dev/dev3/libexec/etc/app.config -pa ./lib/basho-patches
-name dev3@127.0.0.1 -setcookie riak -- console
anandhegde 7115 0.0 0.0 2434892540 s000 R+7:13PM
0:00.00 grep beam
After this I installed the riak-ruby-client gem as given here -
https://github.com/basho/riak
Excon and Rails
3.2.
Read the complete list of changes here:
https://github.com/basho/riak-ruby-client/blob/v1.0.2/RELEASE_NOTES.md
Please file any issues you find on the Github tracker:
https://github.com/basho/riak-ruby-client/issues
--
Sean Cribbs
Software Engineer
Basho Technologies, Inc.
Hi, Keith.
It is not safe to share a single Riak client instance across multiple
client-facing threads.
Riak's conflict detection mechanisms will be misled by that sort of
sharing. Luckily, the client is quite lightweight so you shouldn't
have to worry about the cost of doing it right.
-Justin
Hi, all. Is the Ruby Riak::Client thread safe? I'm wondering if it's safe to
share a single Riak::Client instance across all threads in an application. I
might run the app in JRuby, by the way.
Are there any pros and cons to sharing a single client you can offer?
An obvious pro is that it sa
I think for the protocol buffers, one should probably use the "least connected"
strategy, but PBC connections tend to be more long-lived than HTTP connections
-- which would describe what you saw.
Sean Cribbs
Developer Advocate
Basho Technologies, Inc.
http://basho.com/
On May 29, 2011, at 1:3
Is there are any solution for round robin through HAproxy to Riak using
protobufs? I believe Yammer guys are using it in their setup.. Might be
wrong, though.
On May 29, 2011, at 10:35 AM, "Scott M. Likens" wrote:
Hey,
In my Chef recipes for AppCloud (Engine Yard's PaaS Product) I actually
con
Hey,
In my Chef recipes for AppCloud (Engine Yard's PaaS Product) I actually
configured haproxy to listen on 8098 on the application instances and redirect
to all the riak nodes in a roundrobin fashion. (Had httpchk for /ping to ensure
the node is up)
In my own testing with basho_bench this se
This is one thing I desperately want to refactor. The Ruby client still
contains some things that reflect my earlier, less astute understanding of how
a Riak client should behave and doesn't include obvious things like retrying
requests (possibly on other nodes), conflict resolution strategies,
Hi, all. If I have several riak servers on a cluster, and want to distribute
load fairly evenly, and am using the Ruby Riak client, what is the best way to
balance load?
With the HTTP interface, I can randomize the choice of host for a request. How
would I do the same with the ruby client? W
te excon
>
> And to report back if the issue persists.
>
> Scott
>
> On Mar 24, 2011, at 7:03 PM, Joshua Partogi wrote:
>
>> Hi,
>>
>> I am intermittently getting Excon::Errors::SocketError when using riak
>> ruby client to add search index in riak search. B
Excon is at version 0.5.8 now, so my first suggestion is to run:
bundle update excon
And to report back if the issue persists.
Scott
On Mar 24, 2011, at 7:03 PM, Joshua Partogi wrote:
> Hi,
>
> I am intermittently getting Excon::Errors::SocketError when using riak
> ruby client t
Hi,
I am intermittently getting Excon::Errors::SocketError when using riak
ruby client to add search index in riak search. Below is the stack
trace
vendor/ruby/1.9.1/gems/excon-0.5.6/lib/excon/connection.rb:111:in `write'
vendor/ruby/1.9.1/gems/excon-0.5.6/lib/excon/connection.rb:111:in `re
41 matches
Mail list logo