obdeploy icon indicating copy to clipboard operation
obdeploy copied to clipboard

[Question]: [ERROR] BenchmarkSQL jar file not found at /usr/ob-benchmarksql/OB-BenchmarkSQL-5.0.jar. Please use `--bmsql-jar` to set BenchmarkSQL jar file

Open FrankXMX opened this issue 3 years ago • 4 comments

Please check the issue list for the same question

  • [X] Please try full text in English and attach precise description.

Describe your question

[root@77aa13b9ca07 ~]# obd test tpcc obcluster Get local repositories and plugins ok Open ssh connection ok Cluster status check ok Connect to observer ok [ERROR] BenchmarkSQL jar file not found at /usr/ob-benchmarksql/OB-BenchmarkSQL-5.0.jar. Please use --bmsql-jar to set BenchmarkSQL jar file See https://www.oceanbase.com/product/ob-deployer/error-codes .

FrankXMX avatar Nov 10 '22 08:11 FrankXMX

yum install obtpcc

hnwyllmm avatar Nov 11 '22 02:11 hnwyllmm

obtpcc hasn't been officially supported, right now, it just for testing.

longdafeng avatar Nov 23 '22 08:11 longdafeng

yum install obtpcc

发自我的iPhone

在 2022年11月23日,16:43,Longda @.***> 写道:

 obtpcc hasn't been officially supported, right now, it just for testing.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

hnwyllmm avatar Nov 23 '22 14:11 hnwyllmm

yum install obtpcc Is it available in openEuler?

FrankXMX avatar Nov 25 '22 08:11 FrankXMX

You can find and download the appropriate tpcc RPM package for your operating system from the following link: https://mirrors.oceanbase.com/development-kit/el/ and install the tpcc environment.

gys-git avatar Jul 02 '24 12:07 gys-git

If your archtecture is neither x86_64 nor aarch64, the prebuilt tpcc packages should not be available for you(https://mirrors.oceanbase.com/development-kit/el/9/)

You should read this guide.: https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000001033259

1.prepare ant build tool and jdk_1.8

2.download benchmarksql 5.0 (https://sourceforge.net/projects/benchmarksql/files/latest/download/)

image

3.modify benchmarksql 5.0 source code and shell script to add support for oceanbase

image

  1. build benchmarksql 5.0 with ant

image

  1. call obd.sh with --bmsql-dir
./tools/deploy/obd.sh tpcc -n DEPLOY_NAME --bmsql-dir /mnt/shared/sunmin/benchmarksql-5.0/
or
obd test tpcc obcluster --bmsql-dir /mnt/shared/sunmin/benchmarksql-5.0/

sunmin89 avatar Jul 25 '24 04:07 sunmin89