<?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: Failed to connect node to cluster because local flow is different than cluster flow. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-connect-node-to-cluster-because-local-flow-is/m-p/283656#M210775</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34404"&gt;@Koffi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed your HDF nodes are out of sync can you backup the &lt;STRONG&gt;users.xml&lt;/STRONG&gt; and &lt;STRONG&gt;authorizations.xml&lt;/STRONG&gt; node01 ie &lt;STRONG&gt;$ mv users.xml users.xml.bak&lt;/STRONG&gt; and on the same &lt;STRONG&gt;$ mv authorizations.xml authorizations.xml.bak&lt;/STRONG&gt; then if possible stop node02 so that there are no changes made when you attempt to copy these same 2 files over to node01, ensure the location&amp;nbsp; is the same and the file's permissions thereafter restart your 2 node HDF cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That should resolve the issue.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 17:49:18 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-11-21T17:49:18Z</dc:date>
    <item>
      <title>Failed to connect node to cluster because local flow is different than cluster flow.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-connect-node-to-cluster-because-local-flow-is/m-p/283643#M210774</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are currently using HDP 3.0 with ambari and we installed &lt;STRONG&gt;2 nifi nodes&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We made some &lt;STRONG&gt;config changes&lt;/STRONG&gt; on nifi &lt;STRONG&gt;node01 without restarting both nodes&lt;/STRONG&gt; (i only restarted the node01 and not node02). The changes were not working properly so we &lt;STRONG&gt;decided to roll back&lt;/STRONG&gt; to the previous configs but whenever i &lt;STRONG&gt;try to start node01&lt;/STRONG&gt; i am getting the following &lt;STRONG&gt;error&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Failed to connect node to cluster because local flow is different than cluster flow. &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My guess would be that both nodes are &lt;STRONG&gt;out of synch&lt;/STRONG&gt;.... How can we fix this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 17:08:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-connect-node-to-cluster-because-local-flow-is/m-p/283643#M210774</guid>
      <dc:creator>Koffi</dc:creator>
      <dc:date>2019-11-21T17:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect node to cluster because local flow is different than cluster flow.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-connect-node-to-cluster-because-local-flow-is/m-p/283656#M210775</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34404"&gt;@Koffi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed your HDF nodes are out of sync can you backup the &lt;STRONG&gt;users.xml&lt;/STRONG&gt; and &lt;STRONG&gt;authorizations.xml&lt;/STRONG&gt; node01 ie &lt;STRONG&gt;$ mv users.xml users.xml.bak&lt;/STRONG&gt; and on the same &lt;STRONG&gt;$ mv authorizations.xml authorizations.xml.bak&lt;/STRONG&gt; then if possible stop node02 so that there are no changes made when you attempt to copy these same 2 files over to node01, ensure the location&amp;nbsp; is the same and the file's permissions thereafter restart your 2 node HDF cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That should resolve the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 17:49:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-connect-node-to-cluster-because-local-flow-is/m-p/283656#M210775</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-11-21T17:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect node to cluster because local flow is different than cluster flow.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-connect-node-to-cluster-because-local-flow-is/m-p/283660#M210777</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when you said&amp;nbsp;authorizations.xml&amp;nbsp;are you talking about&amp;nbsp;authorizers.xml? the hadoop environment use ranger for the securioty and also is connected to a ldap server for the users and groups. I don't see any users.xml in the conf directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 18:59:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-connect-node-to-cluster-because-local-flow-is/m-p/283660#M210777</guid>
      <dc:creator>Koffi</dc:creator>
      <dc:date>2019-11-21T18:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect node to cluster because local flow is different than cluster flow.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-connect-node-to-cluster-because-local-flow-is/m-p/283662#M210778</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34404"&gt;@Koffi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if you have ambari metrics enabled?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you dont then I would just simply delete the flow.xml.gz typically found under: on &amp;lt;node01&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/usr/hdf/current/nifi/conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming you have HDF managed by HDP ambari.&lt;/P&gt;&lt;P&gt;And then restart your nifi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do have amabri metrics enabled then do the same thing but instead restart the nifi from the command line on node01&lt;/P&gt;&lt;P&gt;$NIFI_HOME/bin/nifi.sh restart &amp;lt;Assuming you set a runas user on your bootstrap.conf&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or run same command as user who will run nifi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason ambari metrics plays a role here is that if you restart nifi from ambari AND you have ambari metrics enabled then once you remove the flow.xml.gz, ambari will see its missing and create a vanilla one with ambari metrics and will get a flow mismatch again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan C.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 19:11:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-connect-node-to-cluster-because-local-flow-is/m-p/283662#M210778</guid>
      <dc:creator>DigitalPlumber</dc:creator>
      <dc:date>2019-11-21T19:11:47Z</dc:date>
    </item>
  </channel>
</rss>

