Skip to content

Instantly share code, notes, and snippets.

@bcg
Created March 12, 2012 14:50
Show Gist options
  • Save bcg/2022433 to your computer and use it in GitHub Desktop.
Save bcg/2022433 to your computer and use it in GitHub Desktop.
basho_bench failure
~/basho_bench$ grep '{pb_' /etc/riak/app.config
{pb_ip, "10.32.36.92" },
{pb_port, 8087 },
%% {pb_backlog, 64},
~/basho_bench$
~/basho_bench$ ./basho_bench examples/riakc_pb.edge.config INFO: Est. data size: 95.37 MB
escript: exception error: no match of right hand side value
{error,
{bad_return,
{{basho_bench_app,start,[normal,[]]},
{'EXIT',
{{badmatch,{error,shutdown}},
[{basho_bench_app,start,2},
{application_master,start_it_old,4}]}}}}}
in function basho_bench:main/1
in call from escript:run/2
in call from escript:start/1
in call from init:start_it/1
in call from init:start_em/1
=INFO REPORT==== 12-Mar-2012::09:46:36 ===
application: basho_bench
exited: {bad_return,{{basho_bench_app,start,[normal,[]]},
{'EXIT',{{badmatch,{error,shutdown}},
[{basho_bench_app,start,2},
{application_master,start_it_old,4}]}}}}
type: permanent
~/basho_bench$
~/basho_bench$ erl --version
Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:16:16] [rq:16] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.7.4 (abort with ^G)
1> application:start(crypto).
ok
2>
{mode, max}.
{duration, 10}.
{concurrent, 1}.
{driver, basho_bench_driver_riakc_pb}.
{key_generator, {int_to_bin, {uniform_int, 10000}}}.
{value_generator, {fixed_bin, 10000}}.
{riakc_pb_ips, [{10,32,36,92}]}.
{riakc_pb_replies, 1}.
{operations, [{get, 1}, {update, 1}]}.
~/basho_bench$ telnet 10.32.36.92 8087
Trying 10.32.36.92...
Connected to 10.32.36.92.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
~/basho_bench$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment