I am trying to get the 4 node setup working on my os x lion machine.
sorry If you are getting this a second time but I think my first mail got
lost because I was a non member.
I installed riak using
$ brew install riak
I am using the online documentation available -
http://wiki.basho.com/Buildi
I am trying to get the 4 node setup working on my os x lion machine.
I installed riak using
$ brew install riak
I am using the online documentation available -
http://wiki.basho.com/Building-a-Development-Environment.html
I am stuck on this step - "Use rebar to start up four nodes. "
After ins
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 --
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
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
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
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
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
I see :embarassed
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
require 'riak'
class RiakClient < Riak::Client
#attr_accessor :bucket
def initialize(hosts="")
return Riak::Client.new(:nodes => [{:http_port => 8091},{:http_port
=>8092},{:http_port=>8093},{:http_port =>8094}])
end
def get_me(bucket, key)
obj = self.bucket(bucket).get(key)
puts obj.data
end
What is content_type and why do I need to bother about this when storing a
blob of text?
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
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.
Suppose i have a single node running (node-1) (other nodes are down) and i
put a key 'A' in riak.
Now another node comes up, after a few minutes node-1 goes down, will my
other nodes have key A in them?
___
riak-users mailing list
riak-users@lists.basho.
I am using the riak gem in ruby, is there any way i can check if a bucket
exists? (without listing all the keys of the bucket?)
Regards,
Anand Hegde
ianand.in
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo
14 matches
Mail list logo