You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by dl...@apache.org on 2022/09/30 12:42:12 UTC
[accumulo-testing] branch main updated: Updated Accumulo update instructions in the Terraform README (#232)
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 28edc7f Updated Accumulo update instructions in the Terraform README (#232)
28edc7f is described below
commit 28edc7f6b4bd02cb24f165712123028e0fb22ae1
Author: Dave Marion <dl...@apache.org>
AuthorDate: Fri Sep 30 08:42:07 2022 -0400
Updated Accumulo update instructions in the Terraform README (#232)
Updated Accumulo update instructions in the Terraform README
to retain the Accumulo configuration files that were running before
updating.
---
contrib/terraform-testing-infrastructure/README.md | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/contrib/terraform-testing-infrastructure/README.md b/contrib/terraform-testing-infrastructure/README.md
index d36bcad..5df1f41 100644
--- a/contrib/terraform-testing-infrastructure/README.md
+++ b/contrib/terraform-testing-infrastructure/README.md
@@ -356,8 +356,14 @@ doing the following and then restarting Accumulo:
```bash
cd ${software_root}/sources/accumulo-repo
git pull
-mvn -s ${software_root}/apache-maven/settings.xml clean package -DskipTests -DskipITs
+mvn clean package -DskipTests -DskipITs
+# Backup the Accumulo configs
+mkdir -p ~/accumulo-config-backup
+cp ${software_root}/accumulo/accumulo-${accumulo_version}/conf/* ~/accumulo-config-backup/.
+# Lay down the updated Accumulo distribution
tar zxf assemble/target/accumulo-${accumulo_version}-bin.tar.gz -C ${software_root}/accumulo
+# Restore the Accumulo configs
+cp ~/accumulo-config-backup/* ${software_root}/accumulo/accumulo-${accumulo_version}/conf/.
# Sync the Accumulo changes with the worker nodes
pdsh -R exec -g worker rsync -az ${software_root}/accumulo/ %h:${software_root}/accumulo/
```
@@ -370,7 +376,7 @@ doing the following:
```bash
cd ${software_root}/sources/accumulo-testing-repo
git pull
-mvn -s ${software_root}/apache-maven/settings.xml clean package -DskipTests -DskipITs
+mvn clean package -DskipTests -DskipITs
```
## Deployment Overview