<?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 update variable registry api is unable to finish update in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-update-variable-registry-api-is-unable-to-finish-update/m-p/399313#M250470</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/37332"&gt;@hegdemahendra&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As far as your issue goes, it would probably be useful to collect a series of thread dumps (at least spaced 5 minutes apart).&amp;nbsp; Then you would be looking for any threads related to the stopping of components to see if they are progressing or hung.&amp;nbsp; Is it stuck on stopping a specific processor or processor class?&amp;nbsp; Do any of the processors that are being stopped have active threads showing for them?&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Dec 2024 14:00:19 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-12-24T14:00:19Z</dc:date>
    <item>
      <title>Nifi update variable registry api is unable to finish update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-update-variable-registry-api-is-unable-to-finish-update/m-p/399207#M250444</link>
      <description>&lt;P&gt;Hello experts -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am using nifi 1.25 in Kubernetes.&lt;BR /&gt;I have flow where it updates variable registry of a processor group .&lt;BR /&gt;Invoking below url for the same -&amp;nbsp;&lt;BR /&gt;&amp;lt;baseNiFiUrl&amp;gt;/process-groups/${ProcessGroupId}/variable-registry/update-requests&lt;BR /&gt;&lt;BR /&gt;It works for some time and once in a while it starts hanging, where it is unable to update the variable registry at and status stuck at processor stopping.&lt;BR /&gt;Even I tried running update variable registry after manually stopping the specific processor of processor group where updating variable is being referenced.&lt;BR /&gt;&lt;BR /&gt;Here is the below response I get for var registry update status, it does not change:&lt;BR /&gt;{&lt;BR /&gt;"request" : {&lt;BR /&gt;"requestId" : "77422664-ad85-40d7-9464-4df7df1fe149",&lt;BR /&gt;"uri" : "&lt;A href="https://nifi-0:9091/nifi-api/process-groups/fec6c2c9-ee27-31ea-6354-851d74803023/variable-registry/77422664-ad85-40d7-9464-4df7df1fe149" target="_blank"&gt;https://nifi-0:9091/nifi-api/process-groups/fec6c2c9-ee27-31ea-6354-851d74803023/variable-registry/77422664-ad85-40d7-9464-4df7df1fe149&lt;/A&gt;",&lt;BR /&gt;"submissionTime" : "12/20/2024 09:43:32.941 UTC",&lt;BR /&gt;"lastUpdated" : "12/20/2024 09:43:32.941 UTC",&lt;BR /&gt;"complete" : false,&lt;BR /&gt;"percentCompleted" : 0,&lt;BR /&gt;"updateSteps" : [ {&lt;BR /&gt;"description" : "Identifying components affected",&lt;BR /&gt;"complete" : true&lt;BR /&gt;}, {&lt;BR /&gt;"description" : "Stopping affected Processors",&lt;BR /&gt;"complete" : false&lt;BR /&gt;}, {&lt;BR /&gt;"description" : "Disabling affected Controller Services",&lt;BR /&gt;"complete" : false&lt;BR /&gt;}, {&lt;BR /&gt;"description" : "Applying Updates",&lt;BR /&gt;"complete" : false&lt;BR /&gt;}, {&lt;BR /&gt;"description" : "Re-Enabling affected Controller Services",&lt;BR /&gt;"complete" : false&lt;BR /&gt;}, {&lt;BR /&gt;"description" : "Restarting affected Processors",&lt;BR /&gt;"complete" : false&lt;BR /&gt;} ],&lt;BR /&gt;"processGroupId" : "fec6c2c9-ee27-31ea-6354-851d74803023",&lt;BR /&gt;"affectedComponents" : [ {&lt;BR /&gt;"revision" : {&lt;BR /&gt;"clientId" : "e3716811-0193-1000-9573-b7e6afd1da8d",&lt;BR /&gt;"version" : 27&lt;BR /&gt;},&lt;BR /&gt;"id" : "f22a307d-36ea-37ac-515e-677404e7790b",&lt;BR /&gt;"permissions" : {&lt;BR /&gt;"canRead" : true,&lt;BR /&gt;"canWrite" : true&lt;BR /&gt;},&lt;BR /&gt;"bulletins" : [ ],&lt;BR /&gt;"component" : {&lt;BR /&gt;"processGroupId" : "fec6c2c9-ee27-31ea-6354-851d74803023",&lt;BR /&gt;"id" : "f22a307d-36ea-37ac-515e-677404e7790b",&lt;BR /&gt;"referenceType" : "PROCESSOR",&lt;BR /&gt;"name" : "O9QueueRouting",&lt;BR /&gt;"state" : "STOPPED",&lt;BR /&gt;"activeThreadCount" : 0&lt;BR /&gt;},&lt;BR /&gt;"processGroup" : {&lt;BR /&gt;"id" : "fec6c2c9-ee27-31ea-6354-851d74803023",&lt;BR /&gt;"name" : "priceinputgspeandivandmarketidtest"&lt;BR /&gt;},&lt;BR /&gt;"referenceType" : "PROCESSOR"&lt;BR /&gt;} ]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This will work for some time if I restart the nifi and after some time it will be back to square.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any suggestion would be much appreciated&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 16:30:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-update-variable-registry-api-is-unable-to-finish-update/m-p/399207#M250444</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2024-12-20T16:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi update variable registry api is unable to finish update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-update-variable-registry-api-is-unable-to-finish-update/m-p/399285#M250467</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/37332"&gt;@hegdemahendra&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;While I don't have an environment right now matching yours to test with, I did want to point out the NiFi Variables are deprecated and removed in NiFi 2.0.&amp;nbsp; The NiFi 1.x branch will cease to be developed further. You need to move away from using NiFi Variables and start using NiFi Parameters instead.&amp;nbsp; Parameters are more useful then Variables since they can be used in any property versus variables only being useable in properties supporting NiFi Expression Language (NEL).&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, 23 Dec 2024 15:35:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-update-variable-registry-api-is-unable-to-finish-update/m-p/399285#M250467</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-12-23T15:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi update variable registry api is unable to finish update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-update-variable-registry-api-is-unable-to-finish-update/m-p/399313#M250470</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/37332"&gt;@hegdemahendra&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As far as your issue goes, it would probably be useful to collect a series of thread dumps (at least spaced 5 minutes apart).&amp;nbsp; Then you would be looking for any threads related to the stopping of components to see if they are progressing or hung.&amp;nbsp; Is it stuck on stopping a specific processor or processor class?&amp;nbsp; Do any of the processors that are being stopped have active threads showing for them?&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 14:00:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-update-variable-registry-api-is-unable-to-finish-update/m-p/399313#M250470</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-12-24T14:00:19Z</dc:date>
    </item>
  </channel>
</rss>

