jadeallenx / basho_bench

A load-generation and testing tool for basically whatever you can write a returning Erlang function for.
Apache License 2.0
7 stars 3 forks source link

uuid_v4() doesn't work #2

Closed fire closed 6 years ago

fire commented 6 years ago

I was trying to copy the bitcask driver and the uuid_v4() doesn't work.

https://github.com/basho/basho_bench/blob/02d72e8d7f7836c6ca45ea34c1529a76f89d1761/examples/bitcask_expiry.config

Some logs I don't understand.

07:23:31.523 [error] Supervisor basho_bench_run_sup had child basho_bench_worker_sup started with basho_bench_worker_sup:start_link() at undefined exit with reason {shutdown,{failed_to_start_child,basho_bench_worker_1,{function_clause,[{basho_bench_worker,init_generators,[false,uuid_v4,1,basho_bench_keygen],[{file,"/mnt/g/database_cache_benchmark/deps/basho_bench/src/basho_bench_worker.erl"},{line,406}]},{basho_bench_worker,add_generators,1,[{file,"/mnt/g/database_cache_benchmark/deps/basho_bench/src/basho_bench_worker.erl"},{line,399}]},{basho_bench_worker,init,1,[{file,"/mnt/g/database_cache_benchmark/deps/basho_bench/src/basho_bench_worker.erl"},{line,...}]},...]}}} in context start_error
fire commented 6 years ago

It seems to be breaking at https://github.com/mrallen1/basho_bench/blob/mra-rebar3/src/basho_bench_worker.erl#L406

fire commented 6 years ago

This is how I attempted to use it:

{mode, max}.

{duration, 5}.

{concurrent, 8}.

{driver, 'Elixir.BashoBench.Nebulex.Driver'}.

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

{key_generator, uuid_v4}.

{value_generator, {fixed_bin, 100000}}.
fire commented 6 years ago

Unresolved, but no response.