Re: Riak Cluster Crash down on heavy load Benchmarking

2012-06-22 Thread Amol Rajoba
Hi Guys, I have 3 more queries, I hope I am not troubling you guys much. 1. As LevelDB keeps keys and values in a block cache, how it does the management of key spaces that are larger than available memory? like in memcached/redis LRU is used for memory management, here in leveldb how block cache

Displaying all data in a cluster

2012-06-22 Thread Nick Tune
Hello :) I'd like to see how riak is distributing my data. For instance, when I tell it to replicate to two of three nodes, I'd like to go in and see which nodes the data exists on. Is there an api command that will just show all the data that exists in the cluster and on which node(s) it resides

Riak ruby client runtime error

2012-06-22 Thread Anand Hegde
Hello , I just installed riak on my OS X machine and got the 4 node cluster working. Here is my output for the command $ ps aux | grep beam anandhegde 1075 0.1 0.9 2519676 37548 s002 Ss+ 10:49AM 1:34.84 /Users/anandhegde/dev/dev2/libexec/erts-5.8.5/bin/beam.smp -K true -A 64 -W w --

Re: Riak ruby client runtime error

2012-06-22 Thread Sean Cribbs
Hi Anand, You need to give the Riak::Client which port(s) to connect to. If you're doing the devrel 4-node setup, it would look like this: client = Riak::Client.new(:nodes => [{:http_port => 8091},{:http_port =>8092},{:http_port=>8093},{:http_port =>8094}]) Obviously you would need to add the :p

Re: Riak ruby client runtime error

2012-06-22 Thread Anand Hegde
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

Re: Displaying all data in a cluster

2012-06-22 Thread Clinton Shryock
Checkout Riak Control, it comes with Riak 1.1+ http://wiki.basho.com/Riak-Control.html It may not give you the granularity you're seeking but it does give good insight into how data is distributed in general and info on the nodes. +Clint On Jun 22, 2012, at 8:08 AM, Nick Tune wrote: > Hello :

Re: Riak ruby client runtime error

2012-06-22 Thread Reid Draper
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

Re: Riak ruby client runtime error

2012-06-22 Thread Anand Hegde
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

Re: Riak ruby client runtime error

2012-06-22 Thread Anand Hegde
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

Re: Cannot Install Riak

2012-06-22 Thread Nick Tune
I fixed the problem by removing everything with the word erlang in it from my machine. I then installed erlang packs sudo apt-get install erlang* I then installed erlang-base and erlang-base-hipe To fix the man page issue I followed Joe Williams' awesome advice in this link https://github.com/clo

Re: Riak ruby client runtime error

2012-06-22 Thread Anand Hegde
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

Re: Riak ruby client runtime error

2012-06-22 Thread Sean Cribbs
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 >

Re: Riak ruby client runtime error

2012-06-22 Thread Anand Hegde
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

Displaying all data in a cluster

2012-06-22 Thread Nick Tune
Hello, The gui is good but it doesn't show me anything about where data is stored. The object, buckets sections are all greyed out. It says they will be coming soon on the github page. Cheers ___ riak-users mailing list riak-users@lists.basho.com http:/

Re: Riak ruby client runtime error

2012-06-22 Thread Sean Cribbs
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

Re: Riak ruby client runtime error

2012-06-22 Thread Anand Hegde
I see :embarassed ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Riak ruby client runtime error

2012-06-22 Thread Sean Cribbs
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 > riak-users@lists