yugabyte / tpcc

Repo to run TPCC benchmarks against YugabyteDB
Other
24 stars 21 forks source link

Java Null Pointer Exception #62

Open ramsrivatsa opened 4 years ago

ramsrivatsa commented 4 years ago

When I execute TPCC in 3 servers with parameters sst_files_hard_limit =96; rlimit_nofile=1000000

and 2 clients with 4k warehouses altogether using these commands

./tpccbenchmark --nodes=172.151.21.7,172.151.30.255,172.151.20.156 --execute=true --warehouses=2000 --num-connections=300 --start-warehouse-id=1 --total-warehouses=4000

./tpccbenchmark --nodes=172.151.21.7,172.151.30.255,172.151.20.156 --execute=true --warehouses=2000 --num-connections=300 --start-warehouse-id=2001 --total-warehouses=4000

I get this error.

[centos@ip-172-151-25-17 tpcc]$ ./tpccbenchmark --nodes=172.151.21.7,172.151.30.255,172.151.20.156 --execute=true --warehouses=2000 --num-connections=300 --start-warehouse-id=2001 --total-warehouses=4000
19:56:34,536 (DBWorkload.java:347) INFO  - Configuration -> nodes: [172.151.21.7, 172.151.30.255, 172.151.20.156], port: 5433, startWH: 2001, warehouses: 2000, total warehouses across shards: 4000, terminals: 20000, dbConnections: 300, loaderThreads: 10
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-2 - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-2 - Start completed.
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-3 - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-3 - Start completed.
19:56:45,301 (DBWorkload.java:378) INFO  - ======================================================================

Benchmark:     TPCC {com.oltpbenchmark.benchmarks.tpcc.TPCCBenchmark}
Configuration: config/workload_all.xml
Type:          POSTGRES
Driver:        org.postgresql.Driver
URL:           [172.151.21.7, 172.151.30.255, 172.151.20.156]
Isolation:     TRANSACTION_REPEATABLE_READ
Scale Factor:  2000

19:56:45,301 (DBWorkload.java:379) INFO  - ======================================================================
19:56:45,309 (DBWorkload.java:986) INFO  - Creating 20000 virtual terminals...
19:56:46,406 (DBWorkload.java:992) INFO  - Launching the TPCC Benchmark with 1 Phase...
19:56:47,925 (ThreadBench.java:342) INFO  - PHASE START :: [Workload=TPCC] [Serial=false] [Time=1800] [WarmupTime=0] [Rate=10000] [Arrival=REGULAR] [Ratios=[45.0, 43.0, 4.0, 4.0, 4.0]] [ActiveWorkers=20000]
19:56:47,929 (ThreadBench.java:493) INFO  - MEASURE :: Warmup complete, starting measurements.
20:26:47,930 (ThreadBench.java:448) INFO  - TERMINATE :: Waiting for all terminals to finish ..
java.lang.NullPointerException
    at com.oltpbenchmark.api.Worker.run(Worker.java:434)
    at java.lang.Thread.run(Thread.java:748)
[centos@ip-172-151-25-17 tpcc]$