apache / incubator-pegasus

Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store
https://pegasus.apache.org/
Apache License 2.0
1.99k stars 312 forks source link

Errors occurred while launching Pegasus bench #1895

Closed empiredan closed 9 months ago

empiredan commented 9 months ago

While launching Pegasus bench, error occurred that config file was not found:

$ /home/data/pegasus/tools/run.sh bench --type fillrandom_pegasus --num 100000 --cluster 127.0.0.1:34601--app_name test --thread_num 2
cp: cannot stat ‘/home/data/pegasus/tools/build/latest/output/bin/pegasus_bench/config.ini’: No such file or directory

The reason is that the tools is packaged by pack_tools for production environment, where build/latest/output could not be found since it is only used for local test environment.

empiredan commented 9 months ago

This issue is fixed by https://github.com/apache/incubator-pegasus/pull/1896.