<?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/241212#M203016</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;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;What values do you have in&lt;STRONG&gt; /etc/host&lt;/STRONG&gt;?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you share a redacted version of your /etc/hosts  and the output of &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ hostname -f&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;The below shows that you are trying to change to a value which is no different from the older value &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;&lt;STRONG&gt;Detail: Key (host_name)=(bigdata.es) already exists.&lt;/STRONG&gt;
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)&amp;nbsp;

&lt;STRONG&gt;ERROR: duplicate key value violates unique constraint&lt;/STRONG&gt; "uq_hosts_host_name" &amp;nbsp;&amp;nbsp;
Detail: Key (host_name)=(bigdata.es) already exists. Error Code: 0&amp;nbsp;
Call: UPDATE hosts SET host_name = ? WHERE (host_id = ?)bind =&amp;gt; [2 parameters bound]&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Please revert &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 21:36:08 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-05-27T21:36:08Z</dc:date>
  </channel>
</rss>

