Hi Guy,

The Debian package for Riak only creates subdirectories for `ring` and
`bitcask` inside `/var/lib/riak` by default. Once you start Riak with
the updated `app.config`, it'll create the `leveldb` subdirectory for
you.

In order to back Riak CS with Riak, you should be running the updated
Riak `app.config`.

--
Hector


On Mon, Jun 24, 2013 at 1:45 AM, Guy Morton <guy.mor...@bksv.com> wrote:
> http://docs.basho.com/riakcs/latest/tutorials/fast-track/Building-a-Local-Test-Environment/
>
> says
>
>
> Change the following line in /etc/riak/app.config
>
> {storage_backend, riak_kv_bitcask_backend}
>
>
> to
>
> {add_paths, ["/usr/lib64/riak-cs/lib/riak_cs-1.3.1/ebin"]},
> {storage_backend, riak_cs_kv_multi_backend},
> {multi_backend_prefix_list, [{<<"0b:">>, be_blocks}]},
> {multi_backend_default, be_default},
> {multi_backend, [
>     {be_default, riak_kv_eleveldb_backend, [
>         {max_open_files, 50},
>         {data_root, "/var/lib/riak/leveldb"}
>     ]},
>     {be_blocks, riak_kv_bitcask_backend, [
>         {data_root, "/var/lib/riak/bitcask"}
>     ]}
> ]},
>
> BUT /var/lib/riak/leveldb does not exist. This is a debian squeeze 
> installation, done via apt-get.
>
> Is it problematic if I just run riak-cs with the original config?
>
> If not, how do I get leveldb on debian squeeze?
>
> regards
>
> --
> Guy Morton
> Web Development Manager
> Brüel & Kjær EMS
>
> This e-mail is confidential and may be read, copied and used only by the 
> intended recipient. If you have received it in error, please contact the 
> sender immediately by return e-mail. Please then delete the e-mail and do not 
> disclose its contents to any other person.
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to