diff --git a/adapters-api/src/main/java/io/nosqlbench/engine/api/activityimpl/OpDispenser.java b/adapters-api/src/main/java/io/nosqlbench/engine/api/activityimpl/OpDispenser.java index 753d23f33..95429896d 100644 --- a/adapters-api/src/main/java/io/nosqlbench/engine/api/activityimpl/OpDispenser.java +++ b/adapters-api/src/main/java/io/nosqlbench/engine/api/activityimpl/OpDispenser.java @@ -46,7 +46,7 @@ import java.util.function.LongFunction; public interface OpDispenser extends LongFunction { /** - * The apply method in an op dispenser should do all of the work of + * The apply method in an op dispenser should do all the work of * creating an operation that is executable by some other caller. * The value produced by the apply method should not require * additional processing if a caller wants to execute the operation diff --git a/engine-api/src/main/java/io/nosqlbench/engine/api/activityconfig/StatementsLoader.java b/engine-api/src/main/java/io/nosqlbench/engine/api/activityconfig/StatementsLoader.java index a1477ab88..5a84ce10e 100644 --- a/engine-api/src/main/java/io/nosqlbench/engine/api/activityconfig/StatementsLoader.java +++ b/engine-api/src/main/java/io/nosqlbench/engine/api/activityconfig/StatementsLoader.java @@ -32,6 +32,7 @@ public class StatementsLoader { private final static Logger logger = LogManager.getLogger(StatementsLoader.class); + public enum Loader { original, generified @@ -88,7 +89,6 @@ public class StatementsLoader { String transformed = transformer.apply(statement); RawStmtsDocList rawStmtsDocList = RawStmtsDocList.forSingleStatement(transformed); return new StmtsDocList(rawStmtsDocList); - } public static StmtsDocList loadPath( diff --git a/engine-docker/src/main/java/io/nosqlbench/engine/docker/DockerMetricsManager.java b/engine-docker/src/main/java/io/nosqlbench/engine/docker/DockerMetricsManager.java index 9feb434b1..ca6ed2ddd 100644 --- a/engine-docker/src/main/java/io/nosqlbench/engine/docker/DockerMetricsManager.java +++ b/engine-docker/src/main/java/io/nosqlbench/engine/docker/DockerMetricsManager.java @@ -127,7 +127,7 @@ public class DockerMetricsManager { List linkNames = new ArrayList(); dh.startDocker(PROMETHEUS_IMG, tag, name, port, volumeDescList, envList, cmdList, reload, linkNames); - logger.info("prometheus started and listenning"); + logger.info("prometheus started and listening"); } private String startGraphite() { @@ -187,7 +187,7 @@ public class DockerMetricsManager { } } - volumeDescList.add(mappingPath.toString() + ":/tmp/graphite_mapping.conf"); + volumeDescList.add(mappingPath + ":/tmp/graphite_mapping.conf"); } diff --git a/nb-api/src/main/java/io/nosqlbench/nb/api/config/standard/NBConfiguration.java b/nb-api/src/main/java/io/nosqlbench/nb/api/config/standard/NBConfiguration.java index 414b3c2e7..1ee9923dd 100644 --- a/nb-api/src/main/java/io/nosqlbench/nb/api/config/standard/NBConfiguration.java +++ b/nb-api/src/main/java/io/nosqlbench/nb/api/config/standard/NBConfiguration.java @@ -8,6 +8,7 @@ import java.util.Map; import java.util.Optional; public class NBConfiguration { + private final LinkedHashMap data; private final NBConfigModel model;