From 4753fa8004d39b4bff8c59b412383e0b8a60d238 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:18:53 +0200 Subject: [PATCH 1/5] chore: nifi upgrade errata --- modules/ROOT/pages/release-notes.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/ROOT/pages/release-notes.adoc b/modules/ROOT/pages/release-notes.adoc index 182da5e16..0336c8e46 100644 --- a/modules/ROOT/pages/release-notes.adoc +++ b/modules/ROOT/pages/release-notes.adoc @@ -425,6 +425,19 @@ Copy any secrets from the default namespace to that used by the operator, as sho Please note that Java-based products that use the JMX exporter for Prometheus are now built with version https://github.com/prometheus/jmx_exporter/releases/tag/1.0.1[1.0.1], which has breaking changes relevant for any dashboards displaying JVM metrics. +Apache Nifi + +To upgrade from 1.x to the 2.x series, the following config overrides are necessary: + +---- +spec: + configOverrides: + nifi.properties: + nifi.flow.configuration.file: /stackable/data/database/flow.json.gz +---- + +This is necessary because the 2.x versions do not support the XML format for flow definitions anymore. Support for the JSON format has been addded in version 1.16 and both formats have been maintained up to version 2.0. + == Release 24.3 === New / extended platform features From 149eb95a035989db7562bcfa82dda96cd5b37bb9 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 17 Sep 2024 08:05:32 -0400 Subject: [PATCH 2/5] Update modules/ROOT/pages/release-notes.adoc Co-authored-by: Sebastian Bernauer --- modules/ROOT/pages/release-notes.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/release-notes.adoc b/modules/ROOT/pages/release-notes.adoc index 0336c8e46..eb1ec7405 100644 --- a/modules/ROOT/pages/release-notes.adoc +++ b/modules/ROOT/pages/release-notes.adoc @@ -436,7 +436,9 @@ spec: nifi.flow.configuration.file: /stackable/data/database/flow.json.gz ---- -This is necessary because the 2.x versions do not support the XML format for flow definitions anymore. Support for the JSON format has been addded in version 1.16 and both formats have been maintained up to version 2.0. +This is necessary because the 2.x versions do not support the XML format for flow definitions anymore. +Support for the JSON format has been addded in version 1.16 and both formats have been maintained up to (excluding) version 2.0. +The next SDP release 24.11 will automatically take care of this step for you. == Release 24.3 From d18e88249b5054a3e24ef9284be2a42d0fcd50ae Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 17 Sep 2024 08:05:43 -0400 Subject: [PATCH 3/5] Update modules/ROOT/pages/release-notes.adoc Co-authored-by: Sebastian Bernauer --- modules/ROOT/pages/release-notes.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/release-notes.adoc b/modules/ROOT/pages/release-notes.adoc index eb1ec7405..d78c4fa8b 100644 --- a/modules/ROOT/pages/release-notes.adoc +++ b/modules/ROOT/pages/release-notes.adoc @@ -431,9 +431,10 @@ To upgrade from 1.x to the 2.x series, the following config overrides are necess ---- spec: - configOverrides: - nifi.properties: - nifi.flow.configuration.file: /stackable/data/database/flow.json.gz + nodes: + configOverrides: + nifi.properties: + nifi.flow.configuration.file: /stackable/data/database/flow.json.gz ---- This is necessary because the 2.x versions do not support the XML format for flow definitions anymore. From 021ef477d6ddc2211edae96f97bbbef5a6f44c12 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 17 Sep 2024 08:05:50 -0400 Subject: [PATCH 4/5] Update modules/ROOT/pages/release-notes.adoc Co-authored-by: Sebastian Bernauer --- modules/ROOT/pages/release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/release-notes.adoc b/modules/ROOT/pages/release-notes.adoc index d78c4fa8b..acbacead4 100644 --- a/modules/ROOT/pages/release-notes.adoc +++ b/modules/ROOT/pages/release-notes.adoc @@ -427,7 +427,7 @@ Please note that Java-based products that use the JMX exporter for Prometheus ar Apache Nifi -To upgrade from 1.x to the 2.x series, the following config overrides are necessary: +To upgrade from 1.27 to the 2.x series, the following config overrides are necessary: ---- spec: From f4dcda2a522c1b7673f05bd02b9913b2ebf70f0b Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 17 Sep 2024 08:09:12 -0400 Subject: [PATCH 5/5] clarify config overrides --- modules/ROOT/pages/release-notes.adoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/release-notes.adoc b/modules/ROOT/pages/release-notes.adoc index acbacead4..b1d519297 100644 --- a/modules/ROOT/pages/release-notes.adoc +++ b/modules/ROOT/pages/release-notes.adoc @@ -427,16 +427,20 @@ Please note that Java-based products that use the JMX exporter for Prometheus ar Apache Nifi -To upgrade from 1.27 to the 2.x series, the following config overrides are necessary: +To upgrade from 1.27 to the 2.x series, the following config overrides are necessary in the new cluster's manifest: ---- spec: + image: + productVersion: 2.0.0-M4 nodes: configOverrides: nifi.properties: nifi.flow.configuration.file: /stackable/data/database/flow.json.gz ---- +IMPORTANT: Do not override this property for the 1.27 cluster version. + This is necessary because the 2.x versions do not support the XML format for flow definitions anymore. Support for the JSON format has been addded in version 1.16 and both formats have been maintained up to (excluding) version 2.0. The next SDP release 24.11 will automatically take care of this step for you.