riak install issues
-- The error I get is: Compiling c_src/driver_comm.c c_src/driver_comm.c:21:24: error: erl_driver.h: No such file or directory c_src/driver_comm.c: In function ‘read_command’: c_src/driver_comm.c:36: warning: implicit declaration of function ‘driver_alloc’ ERROR: $CC -c $CFLAGS $DRV_CFLAGS c_src/driver_comm.c -o c_src/driver_comm.o failed with error: 1 make: *** [compile] Error 1 -- The riak make appears to not know where the erlang include files are - erlang version: otp_src_R14A Any help? --- robert schaefer Atmospheric Sciences Group MIT Haystack Observatory Westford, MA 01886 email: r...@haystack.mit.edu voice: 781-981-5767 www: http://www.haystack.mit.edu ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
python client to riak
Hello All, I am a new user to riak and want to use the python client. First I installed the riak server and walked through a few of the steps in the README steps at the text: "We are now ready to start the Riak Client:" it failed at the command: http://www.haystack.mit.edu ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: python client to riak
Matt and Grant, Thank you! I just needed to change obj.store to obj.store() bob s. On Jul 7, 2010, at 11:45 AM, Matthew Heitzenroder wrote: > Robert- > > Take a look at the tests in the python client here: > http://github.com/basho/riak-python-client/blob/master/riak/tests/test_all.py > > You want to see how to create a client, then create a bucket, then create > objects for that bucket. It looks a bit like this: > > from riak import * > > client = RiakClient() > bucket = client.bucket("foo") > obj = bucket.new("some_key", {"key":"value"}) > obj.store > > Then, if you want to make sure it go there, do something like: > > curl http://localhost:8098/riak/foo/some_key | python -m json.tool > > and you'll get some JSON back. > > Matt > > On Wed, Jul 7, 2010 at 10:07 AM, robert schaefer > wrote: > Any help with examples for using the python client to Riak? > > !DSPAM:4c34ae15183393487119! --- robert schaefer Atmospheric Sciences Group MIT Haystack Observatory Westford, MA 01886 email: r...@haystack.mit.edu voice: 781-981-5767 www: http://www.haystack.mit.edu ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
python document storing?
Hello all, New question... I would like to store and retrieve binary and/or text documents using the riak python client. Would I open the file and load it to a myarray variable and then bucket.new("my_key":myarray)? Or is there something in the riak-python-client that can directly operate on files, like bucket.new("my_key":"myfile.txt")? bob schaefer ------- robert schaefer Atmospheric Sciences Group MIT Haystack Observatory Westford, MA 01886 email: r...@haystack.mit.edu voice: 781-981-5767 www: http://www.haystack.mit.edu ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com