<?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 showing blank Canvas How to recover jobs? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-showing-blank-Canvas-How-to-recover-jobs/m-p/326730#M229923</link>
    <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion I've recovered it by using flow.xml.gz file.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 19:53:45 GMT</pubDate>
    <dc:creator>CodeLa</dc:creator>
    <dc:date>2021-10-06T19:53:45Z</dc:date>
    <item>
      <title>Nifi showing blank Canvas How to recover jobs?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-showing-blank-Canvas-How-to-recover-jobs/m-p/326568#M229901</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using nifi 1.14. My entire workflow has been crashed and suddenly Nifi is showing blank canvas. Is there any safe way to recover all the jobs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide step by step solution. Any help in this issue will be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 05:57:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-showing-blank-Canvas-How-to-recover-jobs/m-p/326568#M229901</guid>
      <dc:creator>CodeLa</dc:creator>
      <dc:date>2021-10-06T05:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi showing blank Canvas How to recover jobs?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-showing-blank-Canvas-How-to-recover-jobs/m-p/326671#M229910</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92397"&gt;@CodeLa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything you do via the NiFi canvas when building out your dataflows is preserved in the flow.xml.gz file written to disk.&amp;nbsp; On NiFi service start, the flow.xml.gz is loaded in to memory and and then FlowFiles from the the flowfile_repository are loaded back in to the dataflow connections they were last in prior to NiFi being stopped.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In order for your your canvas to be blank on NiFi service startup, that flow.xml.gz is missing.&amp;nbsp;&lt;BR /&gt;By default NiFi creates an archived copy of the flow.xml.gz each time a change is made.&lt;BR /&gt;The following properties from the nifi.properties file control where the flow.xml.gz is written and if/how the archiving is setup:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1633524803564.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32603i81E154328FADED7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MattWho_0-1633524803564.png" alt="MattWho_0-1633524803564.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Recovering the flow from archive is as simple as copying the latest "&amp;lt;timesatmp&amp;gt;_flow.xml.gz" from the configured archive directory to the configured NiFi configuration file location and renaming it to "flow.xml.gz".&amp;nbsp; Make sure proper ownership and permissions are set after you copy and rename (Must be owned and accessible by the NiFi service user).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As a future suggestion:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Another way to protect against a total loss of your flow is running a NiFi cluster instead of a single NiFi instance.&amp;nbsp; In a NiFi cluster, every NiFi node preserves its own identical copy of the flow.xml.gz file.&amp;nbsp; So should catastrophe strike on one of the nodes, you can simply copy the flow.xml.gz from any one of the other nodes to recover the bad node.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 13:00:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-showing-blank-Canvas-How-to-recover-jobs/m-p/326671#M229910</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-10-06T13:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi showing blank Canvas How to recover jobs?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-showing-blank-Canvas-How-to-recover-jobs/m-p/326730#M229923</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion I've recovered it by using flow.xml.gz file.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 19:53:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-showing-blank-Canvas-How-to-recover-jobs/m-p/326730#M229923</guid>
      <dc:creator>CodeLa</dc:creator>
      <dc:date>2021-10-06T19:53:45Z</dc:date>
    </item>
  </channel>
</rss>

