<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: NiFi upgrade 1.9.2  to 1.23.0 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376353#M242873</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106917"&gt;@Soli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;There is likelihood that once you upgrade that you will have ghosted processors (happens when you are using a processor that no longer exists in the newer release) or invalid components (happens when new version of same component class introduces new required properties that need to be configured).&lt;BR /&gt;&lt;BR /&gt;Something you may want to try is standing up a different NiFi on 1.23&amp;nbsp; with autoresume.state set to false in the nifi.properties. drop your flow.xml.gz in to that NiFi and start it.&amp;nbsp; Everything will load up in stopped state.&amp;nbsp; At least then you can validate al your processors are valid and none are ghosted.&amp;nbsp; If this standalone can reach yoru redis, make sure you don't start processors that use it as it can mess up state recorded in your prod NiFi.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You also did not mention if you have a standalone NiFi or a NiFi cluster setup.&amp;nbsp; In a NiFi cluster, Zookeeper is also used by some components to store cluster wide state.&amp;nbsp; So would not utilize same ZK in your test cluster setup used to check for component issues.&lt;BR /&gt;&lt;BR /&gt;At least you will be able to rule out flow design issues and be able to make note of what needs to be fixed in your production upgrade prior to doing the upgrade.&lt;BR /&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="view-original-post-link"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Thu, 14 Sep 2023 17:10:50 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2023-09-14T17:10:50Z</dc:date>
    <item>
      <title>NiFi upgrade 1.9.2  to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376249#M242831</link>
      <description>&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;I planning to upgrade NiFi 1.9.2 to 1.23.0. I read some articles about upgrading.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Nifi-Upgrade/m-p/346309" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Nifi-Upgrade/m-p/346309&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If I follow the t&lt;SPAN&gt;ake special note above ,&amp;nbsp;&lt;/SPAN&gt;can I &lt;SPAN&gt;directly&amp;nbsp;&lt;/SPAN&gt;migrate 1.9.2 to 1.23.0 ? Will there be any problem ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 07:33:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376249#M242831</guid>
      <dc:creator>Soli</dc:creator>
      <dc:date>2023-09-13T07:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi upgrade 1.9.2  to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376251#M242832</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106917"&gt;@Soli&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31438"&gt;@TimothySpann&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 08:50:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376251#M242832</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2023-09-13T08:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi upgrade 1.9.2  to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376271#M242837</link>
      <description>&lt;P&gt;First backup your flows and settings.&amp;nbsp; &amp;nbsp;i don't think you can safely upgrade that many versions.&amp;nbsp; &amp;nbsp;Parameters, records, JSON format and so many other things have come.&amp;nbsp; &amp;nbsp;I would leave the old one running, backup all flows, run a new clean instance with JDK 11 or 17+ with NiFi 1.23.2 and see what is not working.&amp;nbsp; &amp;nbsp;&lt;A href="https://www.datainmotion.dev/2020/06/no-more-spaghetti-flows.html" target="_blank" rel="noopener"&gt;https://www.datainmotion.dev/2020/06/no-more-spaghetti-flows.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See:&amp;nbsp; &amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Nifi-Upgrade/m-p/346309#M234832" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Nifi-Upgrade/m-p/346309#M234832&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 12:49:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376271#M242837</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2023-09-13T12:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi upgrade 1.9.2  to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376297#M242847</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31438"&gt;@TimothySpann&lt;/a&gt;&amp;nbsp;,thanks for reply.&lt;/P&gt;&lt;P&gt;We use a lot of ListFile&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class="ui-provider bnq bnr bns bnt bnu bnv bnw bnx bny bnz boa bob boc bod boe bof bog boh boi boj bok bol bom bon boo bop boq bor bos bot bou bov bow box boy"&gt;(tracking entity)+Redis cache map. We were worried about state will be losted and&amp;nbsp; cause duplicate files. Will it happend? Also, is there any recommended upgrade steps to follow for&amp;nbsp;many versions migration?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 01:19:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376297#M242847</guid>
      <dc:creator>Soli</dc:creator>
      <dc:date>2023-09-14T01:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi upgrade 1.9.2  to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376337#M242865</link>
      <description>&lt;P&gt;You need to work with a contractor or Cloudera support as that is four years of massive updates.&amp;nbsp; &amp;nbsp;ListFile will lose tracking. Redis will remain cache (though it's in memory).&amp;nbsp; &amp;nbsp;I would move away old files or grab the meta data as a checker.&amp;nbsp; &amp;nbsp;It may require some updates to your coding style.&lt;/P&gt;&lt;P&gt;Any state that is critical to long term processing should be stored in a permanent store and use so you can move to new versions.&amp;nbsp; &amp;nbsp;Say store in Postgresql or Kudu.&amp;nbsp; &amp;nbsp;Kudu makes a better cache.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 12:32:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376337#M242865</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2023-09-14T12:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi upgrade 1.9.2  to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376353#M242873</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106917"&gt;@Soli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;There is likelihood that once you upgrade that you will have ghosted processors (happens when you are using a processor that no longer exists in the newer release) or invalid components (happens when new version of same component class introduces new required properties that need to be configured).&lt;BR /&gt;&lt;BR /&gt;Something you may want to try is standing up a different NiFi on 1.23&amp;nbsp; with autoresume.state set to false in the nifi.properties. drop your flow.xml.gz in to that NiFi and start it.&amp;nbsp; Everything will load up in stopped state.&amp;nbsp; At least then you can validate al your processors are valid and none are ghosted.&amp;nbsp; If this standalone can reach yoru redis, make sure you don't start processors that use it as it can mess up state recorded in your prod NiFi.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You also did not mention if you have a standalone NiFi or a NiFi cluster setup.&amp;nbsp; In a NiFi cluster, Zookeeper is also used by some components to store cluster wide state.&amp;nbsp; So would not utilize same ZK in your test cluster setup used to check for component issues.&lt;BR /&gt;&lt;BR /&gt;At least you will be able to rule out flow design issues and be able to make note of what needs to be fixed in your production upgrade prior to doing the upgrade.&lt;BR /&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="view-original-post-link"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Sep 2023 17:10:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376353#M242873</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-09-14T17:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi upgrade 1.9.2  to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376437#M242914</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt; ListFile will lose tracking.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is beyond my knowledge. According to the introduction of ListFile, the tracking entity will be stored in redis. Why is it lost when I only upgrade nifi?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 05:27:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-upgrade-1-9-2-to-1-23-0/m-p/376437#M242914</guid>
      <dc:creator>MTK</dc:creator>
      <dc:date>2023-09-18T05:27:40Z</dc:date>
    </item>
  </channel>
</rss>

