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
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
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
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 --
12 matches
Mail list logo