You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by if...@apache.org on 2022/05/05 09:11:06 UTC
[cassandra-harry] branch trunk updated (c74bcc0 -> 42a50b4)
This is an automated email from the ASF dual-hosted git repository.
ifesdjeen pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-harry.git
from c74bcc0 fix(scripts/cassandra-harry): Fixing bash if condition
new dee239e disable harry-integration local (in-jvm) module for standalone mode
new 42a50b4 Fix conf/external.yaml to have run_time in the right place
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Makefile | 4 ++++
conf/external.yaml | 16 ++++++++--------
pom.xml | 27 ++++++++++++++++++++-------
3 files changed, 32 insertions(+), 15 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org
[cassandra-harry] 02/02: Fix conf/external.yaml to have run_time in the right place
Posted by if...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ifesdjeen pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-harry.git
commit 42a50b445163783ee9b986053f0e9cee611b4688
Author: Israel Fruchter <fr...@scylladb.com>
AuthorDate: Thu Jan 13 14:04:29 2022 +0200
Fix conf/external.yaml to have run_time in the right place
---
conf/external.yaml | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/conf/external.yaml b/conf/external.yaml
index a1432be..f6be4c7 100644
--- a/conf/external.yaml
+++ b/conf/external.yaml
@@ -35,9 +35,6 @@ clock:
epoch_length: 1
epoch_time_unit: "SECONDS"
-run_time: 2
-run_time_unit: "HOURS"
-
# System under test: a Cassandra node or cluster. Default implementation is in_jvm (in-jvm DTest cluster).
# Harry also supports external clusters.
system_under_test:
@@ -48,10 +45,10 @@ system_under_test:
password: null
# Model is responsible for tracking logical timestamps that
-model:
- exhaustive_checker:
- max_seen_lts: 19
- max_complete_lts: 16
+# model:
+# exhaustive_checker:
+# max_seen_lts: 19
+# max_complete_lts: 16
# Partition descriptor selector controls how partitions is selected based on the current logical
# timestamp. Default implementation is a sliding window of partition descriptors that will visit
@@ -92,6 +89,9 @@ clustering_descriptor_selector:
# and model state.
runner:
sequential:
+ run_time: 2
+ run_time_unit: "HOURS"
+
visitors:
- logging:
row_visitor:
@@ -113,4 +113,4 @@ runner:
quiescent_checker: {}
metric_reporter:
- no_op: {}
\ No newline at end of file
+ no_op: {}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org
[cassandra-harry] 01/02: disable harry-integration local (in-jvm) module for standalone mode
Posted by if...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ifesdjeen pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-harry.git
commit dee239e915b13d778b9f0eb5b121ed1cb4b174eb
Author: Amos Kong <am...@scylladb.com>
AuthorDate: Tue Jan 19 21:55:37 2021 +0800
disable harry-integration local (in-jvm) module for standalone mode
In case we don't need the docker integration of `harry-integration`
and we are using an external running cassandra
Signed-off-by: Amos Kong <am...@scylladb.com>
---
Makefile | 4 ++++
pom.xml | 27 ++++++++++++++++++++-------
2 files changed, 24 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 86d4b28..c43804c 100644
--- a/Makefile
+++ b/Makefile
@@ -28,3 +28,7 @@ run: img
run-last:
docker run -v `pwd`/shared:/shared -it ${DOCKER_REPO}:latest-local
+
+standalone:
+ rm -fr shared/*
+ mvn clean && mvn package -DskipTests -P standalone
diff --git a/pom.xml b/pom.xml
index 5a34eac..c044783 100755
--- a/pom.xml
+++ b/pom.xml
@@ -41,13 +41,26 @@
<version>0.0.2-SNAPSHOT</version>
<name>Harry</name>
-
- <modules>
- <module>harry-core</module>
- <module>harry-integration</module>
- <module>harry-integration-external</module>
- </modules>
-
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>harry-core</module>
+ <module>harry-integration</module>
+ <module>harry-integration-external</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>standalone</id>
+ <modules>
+ <module>harry-core</module>
+ <module>harry-integration-external</module>
+ </modules>
+ </profile>
+ </profiles>
<properties>
<skipTests>true</skipTests>
<javac.target>1.8</javac.target>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org