<?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: ambari-agent connection refused after host reboot in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ambari-agent-connection-refused-after-host-reboot/m-p/241214#M203018</link>
    <description>&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="http://xn--adrin%20gil-n7a/" target="_blank"&gt;&lt;EM&gt;@Adrián Gil&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You succeeded but encountering heartbeat lost because your /etc/hosts entry is wrong &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I really can't understand how you can connect &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  The below entry is wrong and  shouldn't resolve  that somehow explains why you had difficulty in running the &lt;STRONG&gt;host_names_changes.json&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;bigdata@bigdata:~$ sudo cat /etc/hosts
10.61.2.10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bigdatapruebas.es &lt;STRONG&gt;bigdata.adurizenergia.es bigdata.es bigdata&lt;/STRONG&gt;
&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Should be  the /etc/host entry should be exactly the output of &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;&lt;STRONG&gt;$ hostname -f&lt;/STRONG&gt;
bigdatapruebas.es&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;So your /etc/hosts should look like below &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ sudo cat /etc/hosts
10.61.2.10 &amp;nbsp; &amp;nbsp; &amp;nbsp; bigdatapruebas.es &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;But if you had an FQDN  like bigdata.endesa.es  the entry could be &lt;STRONG&gt;IP FQDN ALIAS&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ sudo cat /etc/hosts&lt;/EM&gt;
&lt;EM&gt;IP                FQDN                  ALIAS
&lt;/EM&gt;------------------------------------------------
&lt;EM&gt;10.61.2.10 &amp;nbsp; &amp;nbsp; &amp;nbsp; bigdata.endesa.es &amp;nbsp; &amp;nbsp; &amp;nbsp;bigdata&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;With the above entry in the /etc/hosts, you can access ambari  successfully in 2 ways &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;&lt;A href="http://bigdata.endesa.es:8080" target="_blank"&gt;http://bigdata.endesa.es:8080&lt;/A&gt;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;and&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;&lt;A href="http://bigdata:8080" target="_blank"&gt;http://bigdata:8080&lt;/A&gt;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please do the necessary changes and revert&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2019 01:57:53 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-05-28T01:57:53Z</dc:date>
  </channel>
</rss>

