Configure multiple riak clients in a cluster

Chathuri Gunawardhana lanch.gunawardhana at gmail.com
Mon Feb 22 18:46:23 EST 2016


Hi All,

I'm using distributed version of riak client (here
<https://github.com/basho/basho_bench/blob/master/examples/riakclient.config>).
I could configure one riak client for the cluster. But when I try to start
2, one of them crashes (error suggests that there is a global name
conflict). Can you please suggest me how I can run multiple riak clients on
my cluster?

My configurations are shown below. (Same in both nodes, other than the
riakclient_mynode parameter)

{mode, max}.

{duration,5} .

{concurrent,30}.

{operations, [{put,1},{update,1},{get,1}]}.

{driver, basho_bench_driver_riakclient}.

{code_paths, ["/root/Riak/riak/rel/riak/lib/riak_kv-2.1.1-36-g5f58f01",
              "/root/Riak/riak/rel/riak/lib/riak_core-2.1.5"]}.

{key_generator, {int_to_bin_bigendian, {uniform_int, 350}}}.

{value_generator, {fixed_bin, 100}}.

{riakclient_nodes, ['riak at 172.31.0.106']}.

{riakclient_mynode, ['riak_bench at 172.31.0.117', longnames]}.

{riakclient_replies, 1}.

Thank you very much!

-- 
Chathuri Gunawardhana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160223/4f7e9761/attachment-0002.html>


More information about the riak-users mailing list