<?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 Nifi parameter provider with constant invalid revision in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-parameter-provider-with-constant-invalid-revision/m-p/408670#M252763</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;We recently upgrade to nifi 2.4.0 from 1.x and have noticed something weird about the parameter provider in 2.x. From time to time, for some reason, the parameter provider will complain about invalid revision given when fetching for parameters with nifi-cli. Specifically we are using AzureKeyvaultParameterProvider. And the only way to get rid of it is the re-creation of the parameter provider.&lt;/P&gt;&lt;P&gt;See the screenshot&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="87682ea4-952b-486c-b3e7-28b6c8b58015.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45570i701517E88FD12C48/image-size/large?v=v2&amp;amp;px=999" role="button" title="87682ea4-952b-486c-b3e7-28b6c8b58015.png" alt="87682ea4-952b-486c-b3e7-28b6c8b58015.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And it looks like the revision manager was messed up that every time the new revision is always one version below, we are running nifi in a standalone mode and consecutively triggering of the parameter fetch will constantly get the invalid revision(each time the revision is up by 1) until the parameter provider is recreated, even restarting nifi won't help. I'm also quite sure there is only one person sending request to fetch for parameter and attempt to change the parameter provider at the same time so no concurrent operation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And once this problem happens, fetching parameters from UI also does not work, it would just fail silently and the value of the secrets remains unchanged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also FYI, this never happened in 1.x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone with similar problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 May 2025 09:00:18 GMT</pubDate>
    <dc:creator>yuanhao1999</dc:creator>
    <dc:date>2025-05-26T09:00:18Z</dc:date>
    <item>
      <title>Nifi parameter provider with constant invalid revision</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-parameter-provider-with-constant-invalid-revision/m-p/408670#M252763</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;We recently upgrade to nifi 2.4.0 from 1.x and have noticed something weird about the parameter provider in 2.x. From time to time, for some reason, the parameter provider will complain about invalid revision given when fetching for parameters with nifi-cli. Specifically we are using AzureKeyvaultParameterProvider. And the only way to get rid of it is the re-creation of the parameter provider.&lt;/P&gt;&lt;P&gt;See the screenshot&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="87682ea4-952b-486c-b3e7-28b6c8b58015.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45570i701517E88FD12C48/image-size/large?v=v2&amp;amp;px=999" role="button" title="87682ea4-952b-486c-b3e7-28b6c8b58015.png" alt="87682ea4-952b-486c-b3e7-28b6c8b58015.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And it looks like the revision manager was messed up that every time the new revision is always one version below, we are running nifi in a standalone mode and consecutively triggering of the parameter fetch will constantly get the invalid revision(each time the revision is up by 1) until the parameter provider is recreated, even restarting nifi won't help. I'm also quite sure there is only one person sending request to fetch for parameter and attempt to change the parameter provider at the same time so no concurrent operation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And once this problem happens, fetching parameters from UI also does not work, it would just fail silently and the value of the secrets remains unchanged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also FYI, this never happened in 1.x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone with similar problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 09:00:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-parameter-provider-with-constant-invalid-revision/m-p/408670#M252763</guid>
      <dc:creator>yuanhao1999</dc:creator>
      <dc:date>2025-05-26T09:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi parameter provider with constant invalid revision</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-parameter-provider-with-constant-invalid-revision/m-p/408675#M252764</link>
      <description>&lt;P&gt;Looks like a revision tracking issue introduced in NiFi 2.x, especially with how it handles state in the AzureKeyvaultParameterProvider. Since it worked fine in 1.x, it’s likely a regression or a behavior change in how revisions are managed. Until a fix, try logging this with the NiFi Jira or reverting to 1.x if critical.&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 09:27:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-parameter-provider-with-constant-invalid-revision/m-p/408675#M252764</guid>
      <dc:creator>dimi_yu</dc:creator>
      <dc:date>2025-05-26T09:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi parameter provider with constant invalid revision</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-parameter-provider-with-constant-invalid-revision/m-p/408678#M252766</link>
      <description>&lt;P&gt;I will try to open a ticket&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/NIFI-14599" target="_blank"&gt;[NIFI-14599] Parameter provider invalid revision issue - ASF JIRA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 09:49:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-parameter-provider-with-constant-invalid-revision/m-p/408678#M252766</guid>
      <dc:creator>yuanhao1999</dc:creator>
      <dc:date>2025-05-26T09:49:52Z</dc:date>
    </item>
  </channel>
</rss>

