mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
post-merge fixes
This commit is contained in:
commit
67569033e9
@ -12,3 +12,14 @@
|
|||||||
- ead06c0a improvements to generic configuration APIs
|
- ead06c0a improvements to generic configuration APIs
|
||||||
- 0b886931 findmax improvements
|
- 0b886931 findmax improvements
|
||||||
- 998439c8 add customizable timers to CQL driver
|
- 998439c8 add customizable timers to CQL driver
|
||||||
|
- 76779d10 (HEAD -> main) post-merge fixups for cockroachdb driver
|
||||||
|
contribution
|
||||||
|
- 5be890bf support both undef and unset in named scenarios
|
||||||
|
- 5bbdc961 improve error handling
|
||||||
|
- c423cf00 cycle naming for simplicity
|
||||||
|
- 9a044522 Initial commit for cockroachdb driver
|
||||||
|
- 34b7bfc0 experimental dashboard capture
|
||||||
|
- 71c05903 add generalized error handling in http
|
||||||
|
- fc42ff47 disable hashed file function for now
|
||||||
|
- 83a40b01 provide additional signature for HashedFileExtract
|
||||||
|
- cdf2bd59 make info less chatty by pushing some things to debug
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>nb-api</artifactId>
|
<artifactId>nb-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -98,7 +98,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-api</artifactId>
|
<artifactId>virtdata-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
35
driver-cockroachdb/pom.xml
Normal file
35
driver-cockroachdb/pom.xml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>io.nosqlbench</groupId>
|
||||||
|
<artifactId>mvn-defaults</artifactId>
|
||||||
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>driver-cockroachdb</artifactId>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<name>${project.artifactId}</name>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
A CockroachDB ActivityType driver for http://nosqlbench.io/
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.nosqlbench</groupId>
|
||||||
|
<artifactId>driver-jdbc</artifactId>
|
||||||
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.postgresql</groupId>
|
||||||
|
<artifactId>postgresql</artifactId>
|
||||||
|
<version>42.2.14</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
</project>
|
@ -0,0 +1,56 @@
|
|||||||
|
package io.nosqlbench.activitytype.cockroachdb;
|
||||||
|
|
||||||
|
import io.nosqlbench.activitytype.jdbc.api.JDBCActivity;
|
||||||
|
import io.nosqlbench.engine.api.activityimpl.ActivityDef;
|
||||||
|
import org.apache.logging.log4j.LogManager;
|
||||||
|
import org.apache.logging.log4j.Logger;
|
||||||
|
import org.postgresql.ds.PGSimpleDataSource;
|
||||||
|
|
||||||
|
import javax.sql.DataSource;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
public class CockroachActivity extends JDBCActivity {
|
||||||
|
private static final Logger LOGGER = LogManager.getLogger(CockroachActivity.class);
|
||||||
|
|
||||||
|
public CockroachActivity(ActivityDef activityDef) {
|
||||||
|
super(activityDef);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected DataSource newDataSource() {
|
||||||
|
PGSimpleDataSource ds = new PGSimpleDataSource();
|
||||||
|
|
||||||
|
// serverName is required
|
||||||
|
String serverName = getParams().
|
||||||
|
getOptionalString("serverName").
|
||||||
|
orElseThrow(() -> new RuntimeException("serverName parameter required"));
|
||||||
|
|
||||||
|
// portNumber, user, password are optional
|
||||||
|
Integer portNumber = getParams().getOptionalInteger("portNumber").orElse(26257);
|
||||||
|
String user = getParams().getOptionalString("user").orElse(null);
|
||||||
|
String password = getParams().getOptionalString("password").orElse(null);
|
||||||
|
|
||||||
|
ds.setServerNames(new String[]{serverName});
|
||||||
|
ds.setPortNumbers(new int[]{portNumber});
|
||||||
|
if (user != null) {
|
||||||
|
ds.setUser(user);
|
||||||
|
}
|
||||||
|
if (password != null) {
|
||||||
|
ds.setPassword(password);
|
||||||
|
}
|
||||||
|
|
||||||
|
LOGGER.debug("Final DataSource fields"
|
||||||
|
+ " serverNames=" + Arrays.toString(ds.getServerNames())
|
||||||
|
+ " portNumbers=" + Arrays.toString(ds.getPortNumbers())
|
||||||
|
+ " user=" + ds.getUser()
|
||||||
|
+ " password=" + ds.getPassword());
|
||||||
|
|
||||||
|
return ds;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isRetryable(SQLException sqlException) {
|
||||||
|
return sqlException.getSQLState().equals("40001"); // sql state code for transaction conflict
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
package io.nosqlbench.activitytype.cockroachdb;
|
||||||
|
|
||||||
|
import io.nosqlbench.activitytype.jdbc.api.JDBCActionDispenser;
|
||||||
|
import io.nosqlbench.engine.api.activityapi.core.ActionDispenser;
|
||||||
|
import io.nosqlbench.engine.api.activityapi.core.ActivityType;
|
||||||
|
import io.nosqlbench.engine.api.activityimpl.ActivityDef;
|
||||||
|
import io.nosqlbench.nb.annotations.Service;
|
||||||
|
|
||||||
|
@Service(ActivityType.class)
|
||||||
|
public class CockroachActivityType implements ActivityType<CockroachActivity> {
|
||||||
|
@Override
|
||||||
|
public String getName() {
|
||||||
|
return "cockroachdb";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ActionDispenser getActionDispenser(CockroachActivity activity) {
|
||||||
|
return new JDBCActionDispenser(activity);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CockroachActivity getActivity(ActivityDef activityDef) {
|
||||||
|
return new CockroachActivity(activityDef);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,69 @@
|
|||||||
|
# java -jar nb.jar run driver=cockroachdb workload=cockroachdb-basic tags=phase:rampup cycles=10 serverName=localhost
|
||||||
|
# java -jar nb.jar run driver=cockroachdb workload=cockroachdb-basic tags=phase:main cycles=10 serverName=localhost
|
||||||
|
description: An example of a basic cockroach insert
|
||||||
|
|
||||||
|
scenarios:
|
||||||
|
default:
|
||||||
|
- run driver=cockroachdb tags==phase:main threads==auto cycles===<<main-cycles:1000000>>
|
||||||
|
rampup:
|
||||||
|
- run driver=cockroachdb tags==phase:rampup threads==auto cycles===<<rampup-cycles:1000000>>
|
||||||
|
schema:
|
||||||
|
- run driver=cockroachdb tags==phase:schema threads==1 cycles===2
|
||||||
|
#- run driver=stdout tags==phase:schema threads==1 cycles===UNDEF
|
||||||
|
|
||||||
|
bindings:
|
||||||
|
seq_key: Mod(<<keyCount:1000000>>L); ToInt()
|
||||||
|
seq_value: Mod(<<valueCount:1000000000>>L); <<valueSizeDist:Hash()>>; ToString() -> String
|
||||||
|
rw_key: <<keyDist:Uniform(0,1000000)->long>>; ToInt()
|
||||||
|
rw_value: <<valDist:Uniform(0,1000000000)->int>>; <<valueSizeDist:Hash()>>; ToString() -> String
|
||||||
|
|
||||||
|
blocks:
|
||||||
|
- name: schema
|
||||||
|
tags:
|
||||||
|
phase: schema
|
||||||
|
params:
|
||||||
|
statements:
|
||||||
|
- create-database: |
|
||||||
|
CREATE DATABASE <<database:bank>>;
|
||||||
|
tags:
|
||||||
|
name: create-database
|
||||||
|
- create-table: |
|
||||||
|
CREATE TABLE IF NOT EXISTS <<database:bank>>.<<table:banktransaction>> (
|
||||||
|
code STRING PRIMARY KEY,
|
||||||
|
amount INTEGER
|
||||||
|
);
|
||||||
|
tags:
|
||||||
|
name: create-table
|
||||||
|
- name: rampup
|
||||||
|
tags:
|
||||||
|
phase: rampup
|
||||||
|
params:
|
||||||
|
statements:
|
||||||
|
- rampup-insert: insert into <<database:bank>>.<<table:banktransaction>> ( code, amount ) values ( '{seq_key}', {seq_value} );
|
||||||
|
params:
|
||||||
|
tags:
|
||||||
|
name: rampup-insert
|
||||||
|
- name: main-read
|
||||||
|
tags:
|
||||||
|
phase: main
|
||||||
|
type: read
|
||||||
|
params:
|
||||||
|
ratio: <<read_ratio:1>>
|
||||||
|
statements:
|
||||||
|
- main-find: |
|
||||||
|
SELECT code, amount FROM <<database:bank>>.<<table:banktransaction>> WHERE code = '{rw_key}' AND amount = {rw_value};
|
||||||
|
params:
|
||||||
|
tags:
|
||||||
|
name: main-find
|
||||||
|
- name: main-write
|
||||||
|
tags:
|
||||||
|
phase: main
|
||||||
|
type: write
|
||||||
|
params:
|
||||||
|
ratio: <<write_ratio:1>>
|
||||||
|
statements:
|
||||||
|
- main-insert: |
|
||||||
|
UPDATE <<database:bank>>.<<table:banktransaction>> SET amount = {seq_value} WHERE code = '{seq_key}';
|
||||||
|
params:
|
||||||
|
tags:
|
||||||
|
name: main-insert
|
20
driver-cockroachdb/src/main/resources/cockroachdb.md
Normal file
20
driver-cockroachdb/src/main/resources/cockroachdb.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# CockroachDB Driver
|
||||||
|
|
||||||
|
This is a driver for CockroachDB. It extends the generic JDBC Driver and
|
||||||
|
inherits its parameters.
|
||||||
|
|
||||||
|
### CockroachDB driver parameters
|
||||||
|
|
||||||
|
All parameters correspond to the postgresql JDBC library parameters. See
|
||||||
|
the
|
||||||
|
[DataSource Configuration Properties](https://jdbc.postgresql.org/documentation/81/ds-ds.html)
|
||||||
|
section for detailed parameter documentation.
|
||||||
|
|
||||||
|
* **serverName** (required) - database hostname
|
||||||
|
* **portNumber** (optional) - database listen port; defaults to 26257.
|
||||||
|
* **user** (optional) - database account username; defaults to empty.
|
||||||
|
* **password** (optional) - database account password; defaults to empty.
|
||||||
|
* **connectionpool** (optional) - connection pool implementation; defaults
|
||||||
|
to no connection pool. Allowed values:
|
||||||
|
* *hikari* -
|
||||||
|
use [HikariCP](https://github.com/brettwooldridge/HikariCP)
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -23,13 +23,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -24,13 +24,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-cql-shaded</artifactId>
|
<artifactId>driver-cql-shaded</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -20,13 +20,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -23,13 +23,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -22,13 +22,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -7,6 +7,11 @@ public class InvalidStatusCodeException extends RuntimeException {
|
|||||||
private final Pattern ok_status;
|
private final Pattern ok_status;
|
||||||
private final int statusCode;
|
private final int statusCode;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getMessage() {
|
||||||
|
return "Server returned status code '" + statusCode + "' which did not match ok_status '" + ok_status.toString() + "'";
|
||||||
|
}
|
||||||
|
|
||||||
public InvalidStatusCodeException(long cycleValue, Pattern ok_status, int statusCode) {
|
public InvalidStatusCodeException(long cycleValue, Pattern ok_status, int statusCode) {
|
||||||
this.cycleValue = cycleValue;
|
this.cycleValue = cycleValue;
|
||||||
this.ok_status = ok_status;
|
this.ok_status = ok_status;
|
||||||
|
29
driver-jdbc/pom.xml
Normal file
29
driver-jdbc/pom.xml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<parent>
|
||||||
|
<artifactId>nosqlbench</artifactId>
|
||||||
|
<groupId>io.nosqlbench</groupId>
|
||||||
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<artifactId>driver-jdbc</artifactId>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.zaxxer</groupId>
|
||||||
|
<artifactId>HikariCP</artifactId>
|
||||||
|
<version>3.4.5</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.nosqlbench</groupId>
|
||||||
|
<artifactId>engine-api</artifactId>
|
||||||
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
|
</project>
|
@ -0,0 +1,18 @@
|
|||||||
|
package io.nosqlbench.activitytype.jdbc.api;
|
||||||
|
|
||||||
|
import io.nosqlbench.activitytype.jdbc.impl.JDBCAction;
|
||||||
|
import io.nosqlbench.engine.api.activityapi.core.Action;
|
||||||
|
import io.nosqlbench.engine.api.activityapi.core.ActionDispenser;
|
||||||
|
|
||||||
|
public class JDBCActionDispenser implements ActionDispenser {
|
||||||
|
private final JDBCActivity activity;
|
||||||
|
|
||||||
|
public JDBCActionDispenser(JDBCActivity a) {
|
||||||
|
activity = a;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Action getAction(int slot) {
|
||||||
|
return new JDBCAction(activity, slot);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,137 @@
|
|||||||
|
package io.nosqlbench.activitytype.jdbc.api;
|
||||||
|
|
||||||
|
import com.codahale.metrics.Counter;
|
||||||
|
import com.codahale.metrics.Histogram;
|
||||||
|
import com.codahale.metrics.Timer;
|
||||||
|
import com.zaxxer.hikari.HikariConfig;
|
||||||
|
import com.zaxxer.hikari.HikariDataSource;
|
||||||
|
import io.nosqlbench.activitytype.jdbc.impl.ReadyJDBCOp;
|
||||||
|
import io.nosqlbench.engine.api.activityapi.planning.OpSequence;
|
||||||
|
import io.nosqlbench.engine.api.activityimpl.ActivityDef;
|
||||||
|
import io.nosqlbench.engine.api.activityimpl.SimpleActivity;
|
||||||
|
import io.nosqlbench.engine.api.metrics.ActivityMetrics;
|
||||||
|
import io.nosqlbench.engine.api.metrics.ExceptionCountMetrics;
|
||||||
|
import org.apache.logging.log4j.LogManager;
|
||||||
|
import org.apache.logging.log4j.Logger;
|
||||||
|
|
||||||
|
import javax.sql.DataSource;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
||||||
|
// This should not be exposed as as service directly unless it can
|
||||||
|
// be used with a modular JDBC configuration.
|
||||||
|
public abstract class JDBCActivity extends SimpleActivity {
|
||||||
|
private final static Logger LOGGER = LogManager.getLogger(JDBCActivity.class);
|
||||||
|
private Timer bindTimer;
|
||||||
|
private Timer resultTimer;
|
||||||
|
private Timer resultSuccessTimer;
|
||||||
|
private Histogram triesHisto;
|
||||||
|
private ExceptionCountMetrics exceptionCount;
|
||||||
|
private SQLExceptionCountMetrics sqlExceptionCount;
|
||||||
|
|
||||||
|
protected DataSource dataSource;
|
||||||
|
protected OpSequence<ReadyJDBCOp> opSequence;
|
||||||
|
|
||||||
|
public JDBCActivity(ActivityDef activityDef) {
|
||||||
|
super(activityDef);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Subclasses construct a DataSource object. Concrete type should *not* be a pooled DataSource,
|
||||||
|
as this class implements wrapping with HikariDataSource if required.
|
||||||
|
*/
|
||||||
|
protected abstract DataSource newDataSource();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public synchronized void onActivityDefUpdate(ActivityDef activityDef) {
|
||||||
|
super.onActivityDefUpdate(activityDef);
|
||||||
|
|
||||||
|
LOGGER.debug("initializing data source");
|
||||||
|
dataSource = newDataSource();
|
||||||
|
|
||||||
|
String connectionPool = getParams().getOptionalString("connectionpool").orElse("");
|
||||||
|
if (!connectionPool.isEmpty()) {
|
||||||
|
LOGGER.debug("initializing connectionpool " + connectionPool);
|
||||||
|
if (connectionPool.equals("hikari")) {
|
||||||
|
HikariConfig config = new HikariConfig();
|
||||||
|
config.setDataSource(dataSource);
|
||||||
|
dataSource = new HikariDataSource(config);
|
||||||
|
} else {
|
||||||
|
throw new RuntimeException("unknown connectionpool parameter value " + connectionPool);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void initActivity() {
|
||||||
|
LOGGER.debug("initializing activity: " + getActivityDef().getAlias());
|
||||||
|
bindTimer = ActivityMetrics.timer(getActivityDef(), "bind");
|
||||||
|
resultTimer = ActivityMetrics.timer(getActivityDef(), "result");
|
||||||
|
resultSuccessTimer = ActivityMetrics.timer(getActivityDef(), "result-success");
|
||||||
|
triesHisto = ActivityMetrics.histogram(getActivityDef(), "tries");
|
||||||
|
exceptionCount = new ExceptionCountMetrics(getActivityDef());
|
||||||
|
sqlExceptionCount = new SQLExceptionCountMetrics(getActivityDef());
|
||||||
|
|
||||||
|
opSequence = createOpSequence(ReadyJDBCOp::new);
|
||||||
|
setDefaultsFromOpSequence(opSequence);
|
||||||
|
|
||||||
|
onActivityDefUpdate(getActivityDef());
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getMaxTries() {
|
||||||
|
return 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isRetryable(SQLException sqlException) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public DataSource getDataSource() {
|
||||||
|
return dataSource;
|
||||||
|
}
|
||||||
|
|
||||||
|
public OpSequence<ReadyJDBCOp> getOpSequence() {
|
||||||
|
return opSequence;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Timer getBindTimer() {
|
||||||
|
return bindTimer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Timer getResultTimer() {
|
||||||
|
return resultTimer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Timer getResultSuccessTimer() {
|
||||||
|
return resultSuccessTimer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Histogram getTriesHisto() {
|
||||||
|
return triesHisto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ExceptionCountMetrics getExceptionCount() {
|
||||||
|
return exceptionCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public SQLExceptionCountMetrics getSQLExceptionCount() {
|
||||||
|
return sqlExceptionCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class SQLExceptionCountMetrics {
|
||||||
|
private final ConcurrentHashMap<Integer, Counter> counters = new ConcurrentHashMap<>();
|
||||||
|
private final ActivityDef activityDef;
|
||||||
|
|
||||||
|
private SQLExceptionCountMetrics(ActivityDef activityDef) {
|
||||||
|
this.activityDef = activityDef;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void inc(SQLException e) {
|
||||||
|
Counter c = counters.computeIfAbsent(
|
||||||
|
e.getErrorCode(),
|
||||||
|
k -> ActivityMetrics.counter(activityDef, "errorcodecounts." + k)
|
||||||
|
);
|
||||||
|
c.inc();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,94 @@
|
|||||||
|
package io.nosqlbench.activitytype.jdbc.impl;
|
||||||
|
|
||||||
|
import com.codahale.metrics.Timer;
|
||||||
|
import io.nosqlbench.activitytype.jdbc.api.JDBCActivity;
|
||||||
|
import io.nosqlbench.engine.api.activityapi.core.SyncAction;
|
||||||
|
import io.nosqlbench.engine.api.activityapi.planning.OpSequence;
|
||||||
|
import org.apache.logging.log4j.LogManager;
|
||||||
|
import org.apache.logging.log4j.Logger;
|
||||||
|
|
||||||
|
import java.sql.*;
|
||||||
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
|
public class JDBCAction implements SyncAction {
|
||||||
|
private static final Logger LOGGER = LogManager.getLogger(JDBCAction.class);
|
||||||
|
|
||||||
|
private final JDBCActivity activity;
|
||||||
|
private OpSequence<ReadyJDBCOp> sequencer;
|
||||||
|
|
||||||
|
public JDBCAction(JDBCActivity a, int slot) {
|
||||||
|
activity = a;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void init() {
|
||||||
|
sequencer = activity.getOpSequence();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int runCycle(long cycle) {
|
||||||
|
String boundStmt;
|
||||||
|
|
||||||
|
ReadyJDBCOp unboundStmt = sequencer.get(cycle);
|
||||||
|
|
||||||
|
try (Timer.Context bindTime = activity.getBindTimer().time()) {
|
||||||
|
boundStmt = unboundStmt.apply(cycle);
|
||||||
|
}
|
||||||
|
|
||||||
|
int maxTries = activity.getMaxTries();
|
||||||
|
int errorCode = 0;
|
||||||
|
|
||||||
|
for (int tries = 1; tries <= maxTries; tries++) {
|
||||||
|
errorCode = execute(boundStmt, tries);
|
||||||
|
if (errorCode == 0) return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
LOGGER.debug("Max tries " + maxTries + " exceeded for executing statement " + boundStmt);
|
||||||
|
return errorCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
private int execute(String sql, int tries) {
|
||||||
|
long startTimeNano = System.nanoTime();
|
||||||
|
Long resultTime = null;
|
||||||
|
|
||||||
|
try (Connection conn = activity.getDataSource().getConnection()) {
|
||||||
|
Statement jdbcStmt = conn.createStatement();
|
||||||
|
jdbcStmt.execute(sql);
|
||||||
|
|
||||||
|
resultTime = System.nanoTime() - startTimeNano;
|
||||||
|
activity.getResultSuccessTimer().update(resultTime, TimeUnit.NANOSECONDS);
|
||||||
|
|
||||||
|
} catch (Exception e) {
|
||||||
|
LOGGER.debug("Try " + tries + ": failed to execute statement: " + sql, e);
|
||||||
|
|
||||||
|
activity.getExceptionCount().count(e);
|
||||||
|
|
||||||
|
if (e instanceof SQLException) {
|
||||||
|
SQLException sqle = (SQLException) e;
|
||||||
|
|
||||||
|
activity.getSQLExceptionCount().inc(sqle);
|
||||||
|
|
||||||
|
// TODO non-retryable exception should return its non-zero error code to runCycle() caller
|
||||||
|
if (!activity.isRetryable(sqle)) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
return sqle.getErrorCode();
|
||||||
|
}
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
} finally {
|
||||||
|
if (resultTime == null) {
|
||||||
|
resultTime = System.nanoTime() - startTimeNano;
|
||||||
|
}
|
||||||
|
|
||||||
|
activity.getResultTimer().update(resultTime, TimeUnit.NANOSECONDS);
|
||||||
|
activity.getTriesHisto().update(tries);
|
||||||
|
}
|
||||||
|
|
||||||
|
LOGGER.trace("Try " + tries + ": successfully executed statement: " + sql);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
package io.nosqlbench.activitytype.jdbc.impl;
|
||||||
|
|
||||||
|
import io.nosqlbench.engine.api.activityconfig.yaml.OpTemplate;
|
||||||
|
import io.nosqlbench.virtdata.core.bindings.BindingsTemplate;
|
||||||
|
import io.nosqlbench.virtdata.core.templates.ParsedTemplate;
|
||||||
|
import io.nosqlbench.virtdata.core.templates.StringBindings;
|
||||||
|
import io.nosqlbench.virtdata.core.templates.StringBindingsTemplate;
|
||||||
|
|
||||||
|
import java.util.function.LongFunction;
|
||||||
|
|
||||||
|
public class ReadyJDBCOp implements LongFunction<String> {
|
||||||
|
private final StringBindings bindings;
|
||||||
|
|
||||||
|
public ReadyJDBCOp(OpTemplate stmtDef) {
|
||||||
|
ParsedTemplate paramTemplate = new ParsedTemplate(stmtDef.getStmt(), stmtDef.getBindings());
|
||||||
|
BindingsTemplate paramBindings = new BindingsTemplate(paramTemplate.getBindPoints());
|
||||||
|
StringBindingsTemplate template = new StringBindingsTemplate(stmtDef.getStmt(), paramBindings);
|
||||||
|
|
||||||
|
bindings = template.resolve();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String apply(long cycle) {
|
||||||
|
return bindings.bind(cycle);
|
||||||
|
}
|
||||||
|
}
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -22,13 +22,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -44,13 +44,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-stdout</artifactId>
|
<artifactId>driver-stdout</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- <dependency>-->
|
<!-- <dependency>-->
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -21,13 +21,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -22,13 +22,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -24,19 +24,19 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-stdout</artifactId>
|
<artifactId>driver-stdout</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -22,13 +22,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -23,13 +23,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>nb-api</artifactId>
|
<artifactId>nb-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-userlibs</artifactId>
|
<artifactId>virtdata-userlibs</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -23,25 +23,25 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>nb-api</artifactId>
|
<artifactId>nb-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>nb-annotations</artifactId>
|
<artifactId>nb-annotations</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-userlibs</artifactId>
|
<artifactId>virtdata-userlibs</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -13,9 +13,6 @@ public class StopErrorHandler implements ErrorHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ErrorDetail handleError(Throwable t, long cycle, long durationInNanos, ErrorDetail detail) {
|
public ErrorDetail handleError(Throwable t, long cycle, long durationInNanos, ErrorDetail detail) {
|
||||||
String durationSummary = String.format("%.3fS", ((double) durationInNanos / 1000000000.0));
|
throw new RuntimeException(t);
|
||||||
throw new RuntimeException(
|
|
||||||
"An error was rethrown in order to stop the activity in cycle:" + cycle + ", duration:" + durationSummary + " msg:" +
|
|
||||||
t.getMessage());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -23,13 +23,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-core</artifactId>
|
<artifactId>engine-core</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-docker</artifactId>
|
<artifactId>engine-docker</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -21,7 +21,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -28,13 +28,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>drivers-api</artifactId>
|
<artifactId>drivers-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -85,7 +85,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-clients</artifactId>
|
<artifactId>engine-clients</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -65,7 +65,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -28,7 +28,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>docsys</artifactId>
|
<artifactId>docsys</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -22,7 +22,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-api</artifactId>
|
<artifactId>engine-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -47,7 +47,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-cli</artifactId>
|
<artifactId>engine-cli</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -31,7 +31,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>nb-annotations</artifactId>
|
<artifactId>nb-annotations</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
<groupId>com.github.oshi</groupId>
|
<groupId>com.github.oshi</groupId>
|
||||||
<artifactId>oshi-core</artifactId>
|
<artifactId>oshi-core</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- perf testing -->
|
<!-- perf testing -->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
48
nb/pom.xml
48
nb/pom.xml
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -26,31 +26,31 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-rest</artifactId>
|
<artifactId>engine-rest</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-cli</artifactId>
|
<artifactId>engine-cli</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-docs</artifactId>
|
<artifactId>engine-docs</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-core</artifactId>
|
<artifactId>engine-core</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>engine-extensions</artifactId>
|
<artifactId>engine-extensions</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -62,67 +62,79 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-web</artifactId>
|
<artifactId>driver-web</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-kafka</artifactId>
|
<artifactId>driver-kafka</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-stdout</artifactId>
|
<artifactId>driver-stdout</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-diag</artifactId>
|
<artifactId>driver-diag</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-tcp</artifactId>
|
<artifactId>driver-tcp</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-http</artifactId>
|
<artifactId>driver-http</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-jmx</artifactId>
|
<artifactId>driver-jmx</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-dsegraph-shaded</artifactId>
|
<artifactId>driver-dsegraph-shaded</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-cql-shaded</artifactId>
|
<artifactId>driver-cql-shaded</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-cqlverify</artifactId>
|
<artifactId>driver-cqlverify</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-mongodb</artifactId>
|
<artifactId>driver-mongodb</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- <dependency>-->
|
||||||
|
<!-- <groupId>io.nosqlbench</groupId>-->
|
||||||
|
<!-- <artifactId>nb-runtime</artifactId>-->
|
||||||
|
<!-- <version>2.12.51-SNAPSHOT</version>-->
|
||||||
|
<!-- </dependency>-->
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.nosqlbench</groupId>
|
||||||
|
<artifactId>driver-cockroachdb</artifactId>
|
||||||
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -243,7 +255,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>driver-mongodb</artifactId>
|
<artifactId>driver-mongodb</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</profile>
|
</profile>
|
||||||
|
4
pom.xml
4
pom.xml
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>mvn-defaults</relativePath>
|
<relativePath>mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -53,6 +53,8 @@
|
|||||||
<module>driver-kafka</module>
|
<module>driver-kafka</module>
|
||||||
<module>driver-mongodb</module>
|
<module>driver-mongodb</module>
|
||||||
<module>driver-jmx</module>
|
<module>driver-jmx</module>
|
||||||
|
<module>driver-jdbc</module>
|
||||||
|
<module>driver-cockroachdb</module>
|
||||||
<module>driver-pulsar</module>
|
<module>driver-pulsar</module>
|
||||||
|
|
||||||
<!-- VIRTDATA MODULES -->
|
<!-- VIRTDATA MODULES -->
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -23,14 +23,14 @@
|
|||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<artifactId>nb-api</artifactId>
|
<artifactId>nb-api</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-lang</artifactId>
|
<artifactId>virtdata-lang</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -20,7 +20,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-api</artifactId>
|
<artifactId>virtdata-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -22,13 +22,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-api</artifactId>
|
<artifactId>virtdata-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-lib-basics</artifactId>
|
<artifactId>virtdata-lib-basics</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -20,13 +20,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-api</artifactId>
|
<artifactId>virtdata-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-lib-basics</artifactId>
|
<artifactId>virtdata-lib-basics</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -20,7 +20,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-lib-basics</artifactId>
|
<artifactId>virtdata-lib-basics</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-api</artifactId>
|
<artifactId>virtdata-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>mvn-defaults</artifactId>
|
<artifactId>mvn-defaults</artifactId>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<relativePath>../mvn-defaults</relativePath>
|
<relativePath>../mvn-defaults</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@ -18,36 +18,36 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-realdata</artifactId>
|
<artifactId>virtdata-realdata</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-lib-realer</artifactId>
|
<artifactId>virtdata-lib-realer</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-api</artifactId>
|
<artifactId>virtdata-api</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>virtdata-lib-random</artifactId>
|
<artifactId>virtdata-lib-random</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<artifactId>virtdata-lib-basics</artifactId>
|
<artifactId>virtdata-lib-basics</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
<artifactId>virtdata-lib-curves4</artifactId>
|
<artifactId>virtdata-lib-curves4</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
@ -55,7 +55,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.nosqlbench</groupId>
|
<groupId>io.nosqlbench</groupId>
|
||||||
<artifactId>docsys</artifactId>
|
<artifactId>docsys</artifactId>
|
||||||
<version>4.15.10-SNAPSHOT</version>
|
<version>4.15.11-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
Loading…
Reference in New Issue
Block a user