Your client is registering with the name in the config file, and that name can only be used once.
You need to have each client use a different name. > {riakclient_mynode, ['riak_bench@172.31.0.117', longnames]}. Christopher Sent from my iPhone > On Feb 22, 2016, at 15:46, Chathuri Gunawardhana > <lanch.gunawardh...@gmail.com> wrote: > > Hi All, > > I'm using distributed version of riak client (here). 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@172.31.0.106']}. > > {riakclient_mynode, ['riak_bench@172.31.0.117', longnames]}. > > {riakclient_replies, 1}. > > Thank you very much! > > -- > Chathuri Gunawardhana > > _______________________________________________ > 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