Not able to run Riak CS on Raspberry Pi 3

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Not able to run Riak CS on Raspberry Pi 3

cocos
Hi List,

i am having problems running Riak CS on the Raspberry Pi 3. I installed
it from source and made the necassary changes to the "riak.config" and
the "advanced.config".
It currently shows me, that it has issues running the configuration.

I'm also having troubles to find information on how to specify the
leveldb and bitcask modules in the "advanced.config" file.

I was looking for information in the following links:

http://docs.basho.com/riak/cs/2.1.1/cookbooks/configuration/riak-for-cs/

http://docs.basho.com/riak/cs/2.1.1/tutorials/fast-track/local-testing-environment/

Below the config file and the error:

Regards,
Henry


-----------------------------------------------------------------------------
Here the current advanced.config:


{riak_kv, [
{add_paths,["/home/pi/src/riak-cs-2.1.1/rel/riak-cs/lib/riak_cs-2.1.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, [
             {data_root,"/home/pi/src/riak/deps/eleveldb"}
         ]},
         {be_blocks, riak_kv_bitcask_backend, [
             {data_root,"/home/pi/src/riak/deps/bitcask"}
         ]}
     ]}
]}.


-------------------------------------------------------------------------------
The error i am getting after running "sudo bin/riak config generate -l
debug":

13:15:10.017 [info]
/home/pi/src/riak/rel/riak/bin/../etc/advanced.config detected,
overlaying proplists
escript: exception error: no function clause matching


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Not able to run Riak CS on Raspberry Pi 3

Charlie Voiselle
Henry:

It looks like there is a typo on the following line:
> {add_paths,["/home/pi/src/riak-cs-2.1.1/rel/riak-cs/lib/riak_cs-2.1.1/ebin"$

Your advanced.config file should be similar to this:

> {riak_kv, [
>    {add_paths,["/home/pi/src/riak-cs-2.1.1/rel/riak-cs/lib/riak_cs-2.1.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, [
>            {data_root,"/home/pi/src/riak/deps/eleveldb"}
>        ]},
>        {be_blocks, riak_kv_bitcask_backend, [
>            {data_root,"/home/pi/src/riak/deps/bitcask"}
>        ]}
>    ]}
> ]}.


Please let me know if that configuration change gets you going.

Regards,
Charlie Voiselle



> On Apr 13, 2017, at 7:20 AM, Henry- Norbert Cocos <[hidden email]> wrote:
>
> Hi List,
>
> i am having problems running Riak CS on the Raspberry Pi 3. I installed it from source and made the necassary changes to the "riak.config" and the "advanced.config".
> It currently shows me, that it has issues running the configuration.
>
> I'm also having troubles to find information on how to specify the leveldb and bitcask modules in the "advanced.config" file.
>
> I was looking for information in the following links:
>
> http://docs.basho.com/riak/cs/2.1.1/cookbooks/configuration/riak-for-cs/
>
> http://docs.basho.com/riak/cs/2.1.1/tutorials/fast-track/local-testing-environment/
>
> Below the config file and the error:
>
> Regards,
> Henry
>
>
> -----------------------------------------------------------------------------
> Here the current advanced.config:
>
>
> {riak_kv, [
> {add_paths,["/home/pi/src/riak-cs-2.1.1/rel/riak-cs/lib/riak_cs-2.1.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, [
>            {data_root,"/home/pi/src/riak/deps/eleveldb"}
>        ]},
>        {be_blocks, riak_kv_bitcask_backend, [
>            {data_root,"/home/pi/src/riak/deps/bitcask"}
>        ]}
>    ]}
> ]}.
>
>
> -------------------------------------------------------------------------------
> The error i am getting after running "sudo bin/riak config generate -l debug":
>
> 13:15:10.017 [info] /home/pi/src/riak/rel/riak/bin/../etc/advanced.config detected, overlaying proplists
> escript: exception error: no function clause matching
>
>
> _______________________________________________
> riak-users mailing list
> [hidden email]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Loading...