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.lang.NullPointerException from "run" workload(a|b) & question about [DESCRIPTION] on run. #2

Open
russmac opened this issue Nov 1, 2016 · 0 comments

Comments

@russmac
Copy link

russmac commented Nov 1, 2016

I've had great success using your project to benchmark Influxdb for [inserts] and wanted to confirm the details of its operation and see if their was a way to get the run phase working.

When I "run" workloads I get the error below, Using "load" I am able to insert 10mill records at about 12krps per without any stability issues. For comparison YCSB (not TS) "run" has worked fine on the same box.

Due to the descriptions stating they do [SCAN] & [READ] I had assumed all of the ops ran in the load phase. However only [INSERT] operations are logged.

The below error occurs regardless of the capacity of the server, I've used a 32 core/64gb and single core/8gb instance with xms-xmx configured correctly. It appears to occur under no load.

Starting test.
2016-11-01 14:52:36:337 0 sec: 0 operations; est completion in 0 seconds 
2016-11-01 14:52:36:337 0 sec: 0 operations; est completion in 0 seconds 
java.lang.NullPointerException

java.lang.NullPointerException
	at com.yahoo.ycsb.db.InfluxDBClient.read(InfluxDBClient.java:140)
	at com.yahoo.ycsb.DBWrapper.read(DBWrapper.java:85)
	at com.yahoo.ycsb.workloads.CoreWorkload.doTransactionRead(CoreWorkload.java:990)
	at com.yahoo.ycsb.workloads.CoreWorkload.doTransaction(CoreWorkload.java:946)
	at com.yahoo.ycsb.ClientThread.run(Client.java:329)
java.lang.NullPointerException
	at com.yahoo.ycsb.db.InfluxDBClient.read(InfluxDBClient.java:140)
	at com.yahoo.ycsb.DBWrapper.read(DBWrapper.java:85)
	at com.yahoo.ycsb.workloads.CoreWorkload.doTransactionRead(CoreWorkload.java:990)
	at com.yahoo.ycsb.workloads.CoreWorkload.doTransaction(CoreWorkload.java:946)
	at com.yahoo.ycsb.ClientThread.run(Client.java:329)

I also wanted to verify the accuracy of the description logged when running load operations as it states that scan and read ops are also done however the data only shows [INSERT] & [CLEANUP].

Workload A
[DESCRIPTION], Inserts 1000000 records with 3 tags each. Each tag has a value with a length of 10. Each record has a double value between 0 and 10000. After all inserts has processed there will be 1000 (random) read operations. Read will only use timestamp, no tags. All data will use 10000 predefined, randomly generated, tags. There is only one record per timestamp.

Workload B
[DESCRIPTION], Inserts 1000000 records with 3 tags each. Each tag has a value with a length of 10. Each record has a double value between 0 and 10000. After all inserts has processed there will be 100 sum/count/avg/scan operations (25 each) on a random timespan (min 1000 s, max 10000 s) with a random amount (between 1-5) of tag values per tag. All data will use 10000 predefined, randomly generated, tags. There is only one record per timestamp.

@Vogel612 Vogel612 removed their assignment Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants