From e38c191d1dcedbd50052ccac90c730454d1200bc Mon Sep 17 00:00:00 2001 From: Daniel Seybold Date: Wed, 28 Aug 2019 12:24:01 +0200 Subject: [PATCH] readded count command --- .../java/de/uulm/omi/evaluation/task/RemoteCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/de/uulm/omi/evaluation/task/RemoteCommand.java b/src/main/java/de/uulm/omi/evaluation/task/RemoteCommand.java index 413d762..0bc9b4e 100644 --- a/src/main/java/de/uulm/omi/evaluation/task/RemoteCommand.java +++ b/src/main/java/de/uulm/omi/evaluation/task/RemoteCommand.java @@ -239,14 +239,14 @@ public class RemoteCommand extends EvaluationTask { */ int numOfSplits = 256; - //String command = "sudo timeout 180 ./cassandra-count -host " + host + " -keyspace ycsb -table usertable -splitSize " + splitSize + " -numSplits " + numOfSplits; + //String command = "sudo timeout 180 ./cassandra-count -host " + host + " -keyspace ycsb -table usertable -splitSize " + splitSize + " -numSplits " + numOfSplits + " 2>&1"; /** * limited memory usage */ - //String command = "sudo timeout 180 java -Xmx512m -jar cassandra-count -host " + host + " -keyspace ycsb -table usertable -splitSize " + splitSize + " -numSplits " + numOfSplits; + String command = "sudo timeout 180 java -Xmx512m -jar cassandra-count -host " + host + " -keyspace ycsb -table usertable -splitSize " + splitSize + " -numSplits " + numOfSplits + " 2>&1"; - String command = "echo 'test'"; + return command; } -- GitLab