This is an automated email from the ASF dual-hosted git repository.

dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git


The following commit(s) were added to refs/heads/main by this push:
     new ae9c465  Add recent sserver changes to terraform cluster.yaml template 
file (#216)
ae9c465 is described below

commit ae9c46552a661c2dec132d26835cec5dd2ecbf66
Author: Dave Marion <dlmar...@apache.org>
AuthorDate: Wed Aug 31 15:32:00 2022 -0400

    Add recent sserver changes to terraform cluster.yaml template file (#216)
---
 .../modules/config-files/templates/cluster.yaml.tftpl   | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git 
a/contrib/terraform-testing-infrastructure/modules/config-files/templates/cluster.yaml.tftpl
 
b/contrib/terraform-testing-infrastructure/modules/config-files/templates/cluster.yaml.tftpl
index 815d854..89029d6 100644
--- 
a/contrib/terraform-testing-infrastructure/modules/config-files/templates/cluster.yaml.tftpl
+++ 
b/contrib/terraform-testing-infrastructure/modules/config-files/templates/cluster.yaml.tftpl
@@ -12,6 +12,12 @@ tserver:
   - ${ip}
 %{ endfor ~}
 
+sserver:
+  - default
+%{ for ip in worker_ips ~}
+    - ${ip}
+%{ endfor ~}
+
 compaction:
   coordinator:
     - ${manager_ip}
@@ -24,3 +30,14 @@ compaction:
 %{ for ip in worker_ips ~}
         - ${ip}
 %{ endfor ~}
+
+#
+# The following are used by the accumulo-cluster script to determine how many 
servers
+# to start on each host. If the following variables are not set, then they 
default to 1.
+# If the environment variable NUM_TSERVERS is set when running accumulo_cluster
+# then its value will override what is set in this file for tservers_per_host. 
Likewise if
+# NUM_SSERVERS is set then it will override sservers_per_host.
+#
+tservers_per_host: 1
+sservers_per_host: 1
+

Reply via email to