Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Null Pointer Exception #62

Open
ramsrivatsa opened this issue Nov 3, 2020 · 0 comments
Open

Java Null Pointer Exception #62

ramsrivatsa opened this issue Nov 3, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ramsrivatsa
Copy link

ramsrivatsa commented Nov 3, 2020

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]$
@ramsrivatsa ramsrivatsa added the bug Something isn't working label Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants