<?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 - 2 nodes of the cluster take very long time to restart in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381668#M244364</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76913"&gt;@Elnozy&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Other then you examining a serious of spaced out thread dumps from those two nodes during the long startups, it would be difficult to know the specific reason.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But you could look to see if these two nodes have a lot more queued data then the other two nodes.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Are their content, flowfile, and provenance repositories a lot larger then the other nodes?&lt;BR /&gt;&lt;BR /&gt;As fars as the numerous known startup improvements made over the years, there are no workarounds to them other then getting those improvements through upgrade.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&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;</description>
    <pubDate>Thu, 04 Jan 2024 15:04:45 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-01-04T15:04:45Z</dc:date>
    <item>
      <title>Nifi - 2 nodes of the cluster take very long time to restart</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381617#M244357</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In my HDF cluster of 12 Nifi nodes with version 1.8.0.3, 2 nodes takes around 40 minutes to restart. Other nodes takes only 5 minutes.&lt;/P&gt;&lt;P&gt;Each node has 40 cores, 20gb of Heap and we have different volumes (6 for content_repository, 1 for flowfile_repository and 1 for provenance repository)&lt;/P&gt;&lt;P&gt;I don't see any errors in logs.&lt;/P&gt;&lt;P&gt;Do you know where this could come from?&lt;/P&gt;&lt;P&gt;I can give you more information if needed.&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 15:52:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381617#M244357</guid>
      <dc:creator>Elnozy</dc:creator>
      <dc:date>2024-01-03T15:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi - 2 nodes of the cluster take very long time to restart</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381626#M244359</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76913"&gt;@Elnozy&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;HDF 3.3 (Based off Apache NiFi 1.8) is almost 7 years old at this point in time.&amp;nbsp; CFM 2.1.6 is the latest Cloudera NiFi offering based off Apache NiFi 1.23+ version.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There have been many improvements to NiFi over the years including fixes that greatly improve NiFi startup time.&lt;BR /&gt;&lt;BR /&gt;Your best option is to upgrade to mitigate many security issues, bugs fixes, and get the many improvements including those that improve startup speed.&lt;BR /&gt;&lt;BR /&gt;The difference in startup times is most likely directly associated to the amount of FlowFiles queued on some nodes versus others.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But, here are just some examples of fixed issues related to slow startup:&lt;/P&gt;&lt;OL class="aui-nav aui-nav-breadcrumbs"&gt;&lt;LI&gt;&lt;A class="issue-link" href="https://issues.apache.org/jira/browse/NIFI-9382" target="_blank" rel="13412063 noopener"&gt;NIFI-9382&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="issue-link" href="https://issues.apache.org/jira/browse/NIFI-9289" target="_blank" rel="13405463 noopener"&gt;NIFI-9289&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="issue-link" href="https://issues.apache.org/jira/browse/NIFI-7999" target="_blank" rel="13340284 noopener"&gt;NIFI-7999&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&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;</description>
      <pubDate>Wed, 03 Jan 2024 16:53:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381626#M244359</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-03T16:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi - 2 nodes of the cluster take very long time to restart</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381645#M244361</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Unfortunately it is not that simple to do a version upgrade, it is a production cluster.&lt;/P&gt;&lt;P&gt;What I don't understand is that only two nodes pose a problem and they are always the same 2 nodes.&lt;/P&gt;&lt;P&gt;Thanks and Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 08:08:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381645#M244361</guid>
      <dc:creator>Elnozy</dc:creator>
      <dc:date>2024-01-04T08:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi - 2 nodes of the cluster take very long time to restart</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381668#M244364</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76913"&gt;@Elnozy&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Other then you examining a serious of spaced out thread dumps from those two nodes during the long startups, it would be difficult to know the specific reason.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But you could look to see if these two nodes have a lot more queued data then the other two nodes.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Are their content, flowfile, and provenance repositories a lot larger then the other nodes?&lt;BR /&gt;&lt;BR /&gt;As fars as the numerous known startup improvements made over the years, there are no workarounds to them other then getting those improvements through upgrade.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&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;</description>
      <pubDate>Thu, 04 Jan 2024 15:04:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381668#M244364</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-04T15:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi - 2 nodes of the cluster take very long time to restart</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381700#M244375</link>
      <description>&lt;P&gt;If clustered, is Zookeeper running on each node or has that been separated? Wondering if selecting a new master or having an acceptable quorum is contributing to the slowness.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 21:43:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381700#M244375</guid>
      <dc:creator>joseomjr</dc:creator>
      <dc:date>2024-01-05T21:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi - 2 nodes of the cluster take very long time to restart</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381884#M244445</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Here is the threaddump of last restart of node 2304. We took a threaddump every 5 minutes:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1HZ5MlHgNhTApLES7Sn6I8NO74o_TvuG9/view?usp=sharing" target="_blank" rel="noopener"&gt;threaddump&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;I notice only "Cleanup Archive for contentX" that seems take more than 5 minutes for some content repo. Don't know if this cleaning can be a blocking point.&lt;BR /&gt;And maybe I'm missing something on the interpretation of threaddump.&lt;/P&gt;&lt;P&gt;I take also some screens of the cluster view to check if there is more usage of the 2 bad nodes (2304 and 2311). The 2 nodes has 40GB more flowfiles (6% of usage instead of 5% for others):&amp;nbsp;&lt;A href="https://drive.google.com/file/d/16h3SZ0-3a2OyhP2Kmt_QhIDHtZx2Znnu/view?usp=sharing" target="_blank" rel="noopener"&gt;Screen cluster&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nifi is clustered and we have three zookeeper server nodes dedicated for Nifi.&lt;BR /&gt;Do you know how we can check zookeeper actions: election of the Cluster and Primary role?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 14:00:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-nodes-of-the-cluster-take-very-long-time-to-restart/m-p/381884#M244445</guid>
      <dc:creator>Elnozy</dc:creator>
      <dc:date>2024-01-10T14:00:45Z</dc:date>
    </item>
  </channel>
</rss>

