I am using the Dockerfile of this repo to create a new docker image.
After that, I created a docker container from that docker image. Inside the docker container there is a path /srv/basho_bench/_build/default/bin/ in that path basho_bench binary will be created.
I use that basho_bench binary to run load-test on riak with below config file.
4. I am running this inside docker container and that docker container is part of k8s pod which is part of k8s cluster.
5. Riak are configured as Azure VM which I can access via SSH from pod which contain my container with basho_bench script.
6. while running the Performance test from that docker container I am getting below error.
7. I am using this basho_bench script for the performance test first time.
8. can someone please help me, with this error and how can I resolve this ?
9. Any help will be really appreciated.
> 12:22:01.211 [error] Failed to start net_kernel for basho_bench_measurement_erlangvm: {{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}},{child,undefined,net_sup_dynamic,{erl_distribution,start_link,[#{clean_halt => false,name => basho_bench,name_domain => longnames,net_tickintensity => 4,net_ticktime => 60,supervisor => net_sup_dynamic}]},permanent,false,1000,supervisor,[erl_distribution]}}
Hello Team,
/srv/basho_bench/_build/default/bin/
in that pathbasho_bench
binary will be created.{operations, [ {get_pb, 1}, {{put_pb, 5}, 20}, {{query_http, 10}, 1}, {{query_mr, 10}, 1}, {{query_pb, 10}, 1} ]}.
{measurement_driver, basho_bench_measurement_erlangvm}.
{measurements, [ {memory, 1000}, {cpu, 1000}, {processes, 1000}, {filehandles, 1000} ]}.
%%% LOAD SETTINGS %%%
{mode, {rate, 5}}. %%{mode, max}. {duration, 1}. {concurrent, 3}.
%%% DATA SHAPE %%%
{key_generator, uuid_v4}. {value_generator, {uniform_bin, 300,1000}}.
{pb_ips, [{"-riak1.", 18087}]}. {pb_replies, 1}.
{http_ips, ["-riak1."]}. {http_port, 18098}.
%% Timeout units are milliseconds, default = 30000 {pb_timeout_general, 30000}. {http_timeout_general, 30000}.
%%It can also be configured for devrel! %%{pb_ips, [{"-riak1.", 8087}, %% {"-riak2.", 8087}, %% {"-riak3.", 8087} %%]}. %%{pb_replies, 1}. %% %%{http_ips, [{"-riak1.", 8098}, %% {"-riak2.", 8098}, %% {"-riak3.", 8098} %%]}.
{rng_seed, {1, 2, 3}}.
%% enforce_keyrange is for use with sequential_int %% Will error if keys in a range are missing. %%{enforce_keyrange, 10000}.
%%% MEASUREMENT SETTINGS %%%
{nodes, ['-riak1.','-riak2.','-riak3.']}. {cookie, riak}.