<?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 node disconnection from Cluster + Diff in local changes in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389775#M247078</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111173"&gt;@NeheikeQ&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;yes, newer version of 1.x NiFi-Registry will support older versions of NiFi version controlling to it.&lt;BR /&gt;&lt;BR /&gt;For NiFi after upgrade, load the flow.xml.gz on one node and start it.&amp;nbsp; Then start the other nodes so that they all inherit the flow from the one node where you had a flow.xml.gz.&amp;nbsp; &amp;nbsp;At this point all nodes should join successfully and will have the same dataflow loaded.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, 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&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;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;</description>
    <pubDate>Mon, 01 Jul 2024 22:05:52 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-07-01T22:05:52Z</dc:date>
    <item>
      <title>NiFi node disconnection from Cluster + Diff in local changes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389343#M246961</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Context :&lt;BR /&gt;- Cluster of 3&lt;BR /&gt;- NiFi 1.23.2&amp;nbsp;&lt;BR /&gt;- Registry 0.7.0 on external server&lt;/P&gt;&lt;P&gt;After the upgrade from 1.13.2 to 1.23.2 I have a strange reaction from the cluster of 3. I have sometime a node that disconnect with the only error that NiFi can't delete a processor "because it's destination of another component". The thing is this processor don't mean to be delete.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My guess it's because I have a diff between local change between node in the same cluster.&lt;/P&gt;&lt;P&gt;For example if I voluntary create a process to create some local change, when I check on a node I have 1 local change but on another can be 501 local change. This mostly delete then add the same processor.&lt;/P&gt;&lt;P&gt;If I try to revert the local change to the last version of bucket, I always have a node that disconnect. So I shutdown it server side and can't start it up again because the error of desynchronisation in local flow. Even if I copy the flow.xml.gz and flow.json.gz from a healtier node, same error.&lt;/P&gt;&lt;P&gt;The only way I have to make it up again is to backup the flow.xml.gz/flow.json.gz and remove it from the data folder to force it generate from cluster.&lt;/P&gt;&lt;P&gt;Do you have any clue ? There is a file that store de local changes ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 11:12:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389343#M246961</guid>
      <dc:creator>NeheikeQ</dc:creator>
      <dc:date>2024-06-18T11:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi node disconnection from Cluster + Diff in local changes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389345#M246963</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111173"&gt;@NeheikeQ&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/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/42173"&gt;@ckumar&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;&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>Tue, 18 Jun 2024 12:00:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389345#M246963</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-06-18T12:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi node disconnection from Cluster + Diff in local changes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389351#M246966</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111173"&gt;@NeheikeQ&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The first thing that stands out to me is that the version of NiFi-Registry you are using is not going to be compatible with the version of NiFi you are using.&amp;nbsp; NiFi introduced numerous new capabilities that would get tracked in NiFi-Registry, but that old NiFi-Registry version is not going to handle them (even if version control works, the stored flow definitions are going to be missing elements).&lt;BR /&gt;&lt;BR /&gt;Every time a change is made on the NiFi canvas the current flow.xml.gz ad flow.json.gz files are archived and new versions created.&amp;nbsp; So rolling back can be done by swapping to the archived flow.json.gz.&amp;nbsp; &amp;nbsp;There are a few bugs that have been addressed sine 1.23 that address not disconnection and failure to rejoin related bugs.&amp;nbsp; There is not enough detail here to pinpoint an exact cause for your issue. Does your issue only happen with dataflow(s) imported from your old 0.7.0 version of NiFi-Registry?&amp;nbsp; Any particular flow design that always reproduces yoru issue?&amp;nbsp; Full error and stack traces from nifi-app.log? Any other errors or warns around same time in either nifi-app.log or nifi-user.log?&amp;nbsp; What about the nifi-request.log, what was the request made at time the exception occurs?&lt;BR /&gt;&lt;BR /&gt;I recommend upgrading to the latest 1.x release of Apache NiFi and to latest NIFi-Registry version to see if your issue persists.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Note: The flow.xml.gz is deprecated. It has been replaced by the flow.json.gz.&amp;nbsp; When NiFi is started it will load the flow.json.gz.&amp;nbsp; If the flow.json.gz does not exist, NiFi will load from the flow.xml.gz file at which time it will generate the flow.json.gz file from it.&amp;nbsp; Apache NiFi 1.16+ will still write out both the flow.xml.gz and flow.json.gz files whenever a changes is made on the UI.&amp;nbsp; In Apache NiFi 2.x versions, only the flow.json.gz will exist.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, 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&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;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;</description>
      <pubDate>Tue, 18 Jun 2024 15:19:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389351#M246966</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-06-18T15:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi node disconnection from Cluster + Diff in local changes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389370#M246976</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your quick answer.&lt;/P&gt;&lt;P&gt;What's make me feel it's more on NiFi side it's that we have the error on at least one maybe two environments but not the others two. Now I have succeed to revert to last version of the bucket for 2 nodes on 3 but if I up again the third one, I have temporary a question mark on the bucket itself then the asterisk without any way to display local change. When I create a process just to generate local change then I have difference between the two first node and the third one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We plan to upgrade the Registry after the upgrade of NiFi but as you say it's pretty mandatory. Do you think I can upgrade from Registry 0.7.0 to last one version then after upgrade NiFi to last 1.x release ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the log I'll check and come back to you but as I saw for the moment, nothing seem very explicit. That's why I thought about a file/folder that store local changes.&lt;BR /&gt;&lt;BR /&gt;Finally, for your note, I know about the flow.xml.gz that not used anymore but as we go from 1.13.2 we still have it. Even if I copy flow.xml.gz, flow.json.gz or both of them from a working node, it won't start and error on flow desync.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 07:15:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389370#M246976</guid>
      <dc:creator>NeheikeQ</dc:creator>
      <dc:date>2024-06-19T07:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi node disconnection from Cluster + Diff in local changes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389775#M247078</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111173"&gt;@NeheikeQ&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;yes, newer version of 1.x NiFi-Registry will support older versions of NiFi version controlling to it.&lt;BR /&gt;&lt;BR /&gt;For NiFi after upgrade, load the flow.xml.gz on one node and start it.&amp;nbsp; Then start the other nodes so that they all inherit the flow from the one node where you had a flow.xml.gz.&amp;nbsp; &amp;nbsp;At this point all nodes should join successfully and will have the same dataflow loaded.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, 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&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;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;</description>
      <pubDate>Mon, 01 Jul 2024 22:05:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-node-disconnection-from-Cluster-Diff-in-local-changes/m-p/389775#M247078</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-07-01T22:05:52Z</dc:date>
    </item>
  </channel>
</rss>

