<?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: The hostname and canonical name for this host are not consistent in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19460#M46756</link>
    <description>Just editing the entry won't suffice. Changes to that file need a reboot to&lt;BR /&gt;take effect.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Sep 2014 09:23:15 GMT</pubDate>
    <dc:creator>GautamG</dc:creator>
    <dc:date>2014-09-29T09:23:15Z</dc:date>
    <item>
      <title>The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19444#M46751</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I added a new node in cloudera cluster, The node went to bad health and shows error message like "&lt;SPAN&gt;&lt;STRONG&gt;The hostname and canonical name for this host are not consistent when checked from a Java process"&lt;/STRONG&gt; Can any one help us to fix this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sathishkumar M&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:52:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19444#M46751</guid>
      <dc:creator>sathishkumar</dc:creator>
      <dc:date>2014-09-29T07:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19446#M46752</link>
      <description>If you're running Red Hat or CenOS, ensure the /etc/sysconfig/network file&lt;BR /&gt;has the HOSTNAME field with the FQDN, not just the host name.&lt;BR /&gt;&lt;BR /&gt;HOSTNAME=server1.example.com (good)&lt;BR /&gt;HOSTNAME=server1 (bad)&lt;BR /&gt;&lt;BR /&gt;Edit this and reboot the host. Just restarting network services might not&lt;BR /&gt;work. Then let us know if the error still continues to be logged.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:58:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19446#M46752</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2014-09-29T07:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19452#M46753</link>
      <description>&lt;P&gt;Thanks Gautam, It &amp;nbsp;is working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, Other nodes in the same cluster dont have this FQDN in that path /etc/sysconfig/network and those are working fine.Is there any specific reason?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:14:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19452#M46753</guid>
      <dc:creator>sathishkumar</dc:creator>
      <dc:date>2014-09-29T08:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19454#M46754</link>
      <description>That is hard to say. Please run this python one-liner on a host where you&lt;BR /&gt;don't get complaints and on the host you just fixed. Do they look similar?&lt;BR /&gt;&lt;BR /&gt;# python -c "import socket; print socket.getfqdn(); print&lt;BR /&gt;socket.gethostbyname(socket.getfqdn())"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:23:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19454#M46754</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2014-09-29T08:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19458#M46755</link>
      <description>&lt;P&gt;Yes,The onliner diplaying the FQDN in both the nodes.&amp;nbsp;&amp;nbsp;But we tried after removing that FQDN in /etc/sysconfig/network file also and we got the same output.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2014 09:21:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19458#M46755</guid>
      <dc:creator>sathishkumar</dc:creator>
      <dc:date>2014-09-29T09:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19460#M46756</link>
      <description>Just editing the entry won't suffice. Changes to that file need a reboot to&lt;BR /&gt;take effect.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Sep 2014 09:23:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19460#M46756</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2014-09-29T09:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19466#M46757</link>
      <description>&lt;P&gt;Thanks Gautam for your reply. We checked only after the reboot.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2014 11:55:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19466#M46757</guid>
      <dc:creator>sathishkumar</dc:creator>
      <dc:date>2014-09-29T11:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19518#M46758</link>
      <description>From what I understand, you have some hosts with HOSTNAME=server1 and some with HOSTNAME=server1.example.com. CM does not complain about all hosts which have HOSTNAME=server1. Is this right?&lt;BR /&gt;&lt;BR /&gt;Are you able to provide the python script output from both types of hosts? What OS are these hosts running?</description>
      <pubDate>Tue, 30 Sep 2014 02:50:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19518#M46758</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2014-09-30T02:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19520#M46759</link>
      <description>&lt;P&gt;Network file for that node which is in&lt;STRONG&gt; bad health&lt;/STRONG&gt; before change&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cat /etc/sysconfig/network&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NETWORKING=yes&lt;BR /&gt;HOSTNAME=node10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output of Python code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;python -c "import socket; print socket.getfqdn(); print&lt;BR /&gt;socket.gethostbyname(socket.getfqdn())"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;node10.cluster1.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Network file for that node which is already in &lt;STRONG&gt;good health&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cat /etc/sysconfig/network&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;python -c "import socket; print socket.getfqdn(); print&lt;BR /&gt;socket.gethostbyname(socket.getfqdn())"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;node6.cluster1.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sathishkumar M&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2014 05:15:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19520#M46759</guid>
      <dc:creator>sathishkumar</dc:creator>
      <dc:date>2014-09-30T05:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19578#M46760</link>
      <description>Satish, I am failing to see the problem here. Maybe I'm missing something obvious?&lt;BR /&gt;&lt;BR /&gt;You were getting warnings for node10 earlier but don't any more. Does node6 have "HOSTNAME=node6" and still doesn't generate warnings?</description>
      <pubDate>Wed, 01 Oct 2014 11:16:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/19578#M46760</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2014-10-01T11:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/50579#M46761</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp; I also had the same issue in RHEL 7 . As suggested I modified the &lt;STRONG&gt;"HOSTNAME"&lt;/STRONG&gt;&amp;nbsp;attribute in /etc/sysconfig/network file to FQDN. Following that I also modified the hostname to FQDN using the following command:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostnamectl set-hostname "&amp;lt;your hostname FQDN&amp;gt;" --static&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Followed by this&amp;nbsp; I restarted cloudera-scm-agent . This worked for me , there were no more critical warnings on hostname and canonical hostname .&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 02:34:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/50579#M46761</guid>
      <dc:creator>devarajan</dc:creator>
      <dc:date>2017-02-08T02:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56250#M46762</link>
      <description>The python command should be all one line, or use a "\" to continue on a new line.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;$ python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())"&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;$ python -c "import socket; print socket.getfqdn(); \&lt;BR /&gt;print socket.gethostbyname(socket.getfqdn())"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jun 2017 16:14:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56250#M46762</guid>
      <dc:creator>chrisk23</dc:creator>
      <dc:date>2017-06-21T16:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56853#M46763</link>
      <description>&lt;P&gt;I am having same problem here.&lt;/P&gt;&lt;P&gt;I used to install Cloudera Manager on Centos 7 with no issues.&lt;/P&gt;&lt;P&gt;But in Centos 6(since impala is not supported on Centos 7, had to try Centos 6), getting this error on all hosts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My /etc/sysconfig/network file is like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=cixa.c.gib-data.internal&lt;/PRE&gt;&lt;P&gt;I rebooted all hosts after setting&amp;nbsp;HOSTNAME in /etc/sysconfig/network file.&lt;/P&gt;&lt;P&gt;All other nodes share same configuration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Host inspection gives no warning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In host status, this error message is shown:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The hostname and canonical name for this host are not consistent when checked from a Java process"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())"
cixa.c.gib-data.internal
10.128.0.2&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;All hosts answer correctly to nslookup and host commands.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All hosts can shh and ping to all others with FQDN.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 21:42:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56853#M46763</guid>
      <dc:creator>rampo</dc:creator>
      <dc:date>2017-07-03T21:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56857#M46764</link>
      <description>&lt;HR /&gt;&lt;P&gt;rampo wrote:&lt;BR /&gt;But in Centos 6(since impala is not supported on Centos 7, had to try Centos 6), getting this error on all hosts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is not true, our latest versions of CDH do run on CentOS 7 which means Impala is supported on it as well.&lt;/P&gt;&lt;P&gt;e.g. 5.11.1&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh_download_511.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh_download_511.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 00:36:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56857#M46764</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2017-07-04T00:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56869#M46765</link>
      <description>&lt;P&gt;I have installed Cloudera Manager 5.11 on CentOS7. Unfortunately on Parcels page, it says:&lt;/P&gt;&lt;P&gt;Impala is not supported on RHEL 7.&lt;/P&gt;&lt;P&gt;That's the whole reason I fallback to CenOS 6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also when I check Impala Parcels on&amp;nbsp;&lt;A href="http://archive.cloudera.com/impala/parcels/latest/" target="_blank"&gt;http://archive.cloudera.com/impala/parcels/latest/&lt;/A&gt; I see there is no EL7 parcel.&lt;/P&gt;&lt;P&gt;Here is the complete list of Impala parcels:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMPALA-2.1.0-1.impala2.0.0.p0.1995-el5.parcel&lt;BR /&gt;IMPALA-2.1.0-1.impala2.0.0.p0.1995-el6.parcel&lt;BR /&gt;IMPALA-2.1.0-1.impala2.0.0.p0.1995-lucid.parcel&lt;BR /&gt;IMPALA-2.1.0-1.impala2.0.0.p0.1995-precise.parcel&lt;BR /&gt;IMPALA-2.1.0-1.impala2.0.0.p0.1995-sles11.parcel&lt;BR /&gt;IMPALA-2.1.0-1.impala2.0.0.p0.1995-squeeze.parcel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 08:27:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56869#M46765</guid>
      <dc:creator>rampo</dc:creator>
      <dc:date>2017-07-04T08:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56876#M46766</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/22757"&gt;@rampo&lt;/a&gt; wrote:&lt;BR /&gt;Also when I check Impala Parcels on&amp;nbsp;&lt;A href="http://archive.cloudera.com/impala/parcels/latest/" target="_blank"&gt;http://archive.cloudera.com/impala/parcels/latest/&lt;/A&gt; I see there is no EL7 parcel.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm glad you mentioned the parcel repo. With the latest releases of CDH, Impala is included in the CDH parcel itself and doesn't need a separate repository. The current version of Impala in CDH 5.11.1 is 2.8.0, see this URL: &lt;A href="https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh_package_tarball_511.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh_package_tarball_511.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this means, if you're able to create a CDH cluster on a bunch of CentOS 7 hosts, you should be able to add the Impala service as well. Please don't add that parcel quoted above as it's not required any longer.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 10:54:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56876#M46766</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2017-07-04T10:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56916#M46767</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/2283"&gt;@GautamG&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I wasn't aware of that until you clearly stated that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 19:19:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/56916#M46767</guid>
      <dc:creator>rampo</dc:creator>
      <dc:date>2017-07-04T19:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/67483#M46768</link>
      <description>&lt;P&gt;error still persists even after restarting&lt;/P&gt;&lt;P&gt;am using centOs 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@instance-1 Admin]# hostname -f&lt;BR /&gt;instance-1.c.sacred-evening-197206.internal&lt;BR /&gt;[root@instance-1 Admin]# cat /etc/sysconfig/network&lt;BR /&gt;NETWORKING=yes&lt;BR /&gt;HOSTNAME=instance-1.c.sacred-evening-197206.internal&lt;BR /&gt;[root@instance-1 Admin]#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what to do kindly suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 13:24:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/67483#M46768</guid>
      <dc:creator>prabhat10</dc:creator>
      <dc:date>2018-05-21T13:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/67491#M46769</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/27283"&gt;@prabhat10&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since this is an old thread, we should make sure you are indeed seeing the same issue that is described.&lt;/P&gt;&lt;P&gt;Please let us know what you are doing when you see the problem and what the problem is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are seeing the message that is in the initial comment of this thread, then to get some more insight, I recommend running the DNSTest manually like this on a cluster host:&lt;/P&gt;&lt;P&gt;(make sure java is in your path or specify the full path to the java file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# java -classpath /usr/share/cmf/lib/agent-5.*.jar com.cloudera.cmon.agent.DnsTest&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output will be a JSON format file like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"status": "0", "ip": "122.168.100.211", "hostname": "host.example.com", "canonicalname": "host.example.com", "localhostDuration": "4", "canonicalnameDuration": "0" }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might shed some light on what is going on.&amp;nbsp; I'd check your hosts file or DNS depending on how your host resolution is configured on that host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 17:09:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/67491#M46769</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-05-21T17:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: The hostname and canonical name for this host are not consistent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/67511#M46770</link>
      <description>&lt;P&gt;hello@&lt;U&gt;bgooley&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;i have&amp;nbsp;run this command&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# java -classpath /usr/share/cmf/lib/agent-5.*.jar com.cloudera.cmon.agent.DnsTest&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and get this as a output :&lt;/P&gt;&lt;P&gt;[root@instance-1 Admin]# java -classpath /usr/share/cmf/lib/agent-5.*.jar com.cloudera.cmon.agent.DnsTest&lt;BR /&gt;{"status": "0", "ip": "10.142.0.4", "hostname": "instance-1", "canonicalname": "instance-1.c.sacred-evening-197206.internal", "localhostDuration": "4", "canonicalnameDuration": "0" }&lt;BR /&gt;[root@instance-1 Admin]# cat /etc/sysconfig/network&lt;BR /&gt;NETWORKING=yes&lt;BR /&gt;HOSTNAME=instance-1.c.sacred-evening-197206.internal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@instance-1 Admin]# java -version&lt;BR /&gt;openjdk version "1.8.0_171"&lt;BR /&gt;OpenJDK Runtime Environment (build 1.8.0_171-b10)&lt;BR /&gt;OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)&lt;BR /&gt;[root@instance-1 Admin]# javac -version&lt;BR /&gt;bash: javac: command not found&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do i need to run the above command on each hosts and other hosts java is not installed, do i need to instaal it manually. On doing java -version its showing command not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@instance-1 jdk1.7.0_67-cloudera]# alternatives --display java| grep Current&lt;BR /&gt;Current `best' version is /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java.&lt;BR /&gt;[root@instance-1 jdk1.7.0_67-cloudera]# ls /usr/java/&lt;BR /&gt;jdk1.7.0_67-cloudera&lt;BR /&gt;[root@instance-1 jdk1.7.0_67-cloudera]# ls /usr/java/jdk1.7.0_67-cloudera/&lt;BR /&gt;bin lib src.zip&lt;BR /&gt;COPYRIGHT LICENSE THIRDPARTYLICENSEREADME-JAVAFX.txt&lt;BR /&gt;db man THIRDPARTYLICENSEREADME.txt&lt;BR /&gt;include README.html&lt;BR /&gt;jre release&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly suggest!!&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 07:23:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-hostname-and-canonical-name-for-this-host-are-not/m-p/67511#M46770</guid>
      <dc:creator>prabhat10</dc:creator>
      <dc:date>2018-05-22T07:23:26Z</dc:date>
    </item>
  </channel>
</rss>

