<?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 hostname and canonical name for this host are not consistent when checked from a Java process in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67579#M42318</link>
    <description>&lt;P&gt;i have run this command on all hosts&lt;/P&gt;&lt;P&gt;# java -classpath /usr/share/cmf/lib/agent-5.*.jar com.cloudera.cmon.agent.DnsTest&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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@instance-2 Admin]# java -classpath /usr/share/cmf/lib/agent-5.*.jar com.cloudera.cmon.agent.DnsTest&lt;BR /&gt;{"status": "0", "ip": "10.142.0.5", "hostname": "instance-2", "canonicalname": "instance-2.c.sacred-evening-197206.internal", "localhostDuration": "5", "canonicalnameDuration": "0" }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@instance-3 Admin]# java -classpath /usr/share/cmf/lib/agent-5.*.jar com.c loudera.cmon.agent.DnsTest&lt;BR /&gt;{"status": "0", "ip": "10.142.0.2", "hostname": "instance-3", "canonicalname": " instance-3.c.sacred-evening-197206.internal", "localhostDuration": "4", "canonic alnameDuration": "0" }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but in my /etc/sysconfig/network and /etc/hosts file i have mentioned FQDN then why its showing instance-1, instance-2, instance-3 while running above command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please suggest&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 13:15:51 GMT</pubDate>
    <dc:creator>prabhat10</dc:creator>
    <dc:date>2022-09-16T13:15:51Z</dc:date>
    <item>
      <title>hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67579#M42318</link>
      <description>&lt;P&gt;i have run this command on all hosts&lt;/P&gt;&lt;P&gt;# java -classpath /usr/share/cmf/lib/agent-5.*.jar com.cloudera.cmon.agent.DnsTest&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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@instance-2 Admin]# java -classpath /usr/share/cmf/lib/agent-5.*.jar com.cloudera.cmon.agent.DnsTest&lt;BR /&gt;{"status": "0", "ip": "10.142.0.5", "hostname": "instance-2", "canonicalname": "instance-2.c.sacred-evening-197206.internal", "localhostDuration": "5", "canonicalnameDuration": "0" }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@instance-3 Admin]# java -classpath /usr/share/cmf/lib/agent-5.*.jar com.c loudera.cmon.agent.DnsTest&lt;BR /&gt;{"status": "0", "ip": "10.142.0.2", "hostname": "instance-3", "canonicalname": " instance-3.c.sacred-evening-197206.internal", "localhostDuration": "4", "canonic alnameDuration": "0" }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but in my /etc/sysconfig/network and /etc/hosts file i have mentioned FQDN then why its showing instance-1, instance-2, instance-3 while running above command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please suggest&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:15:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67579#M42318</guid>
      <dc:creator>prabhat10</dc:creator>
      <dc:date>2022-09-16T13:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67601#M42319</link>
      <description>&lt;P&gt;Can you post you /etc/hosts file?&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 12:45:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67601#M42319</guid>
      <dc:creator>GeKas</dc:creator>
      <dc:date>2018-05-23T12:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67623#M42320</link>
      <description>&lt;P&gt;[root@instance-1 Admin]# cat /etc/hosts&lt;BR /&gt;127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4&lt;BR /&gt;::1 localhost localhost.localdomain localhost6 localhost6.localdomain6&lt;/P&gt;&lt;P&gt;10.142.0.5 instance-2.c.sacred-evening-197206.internal instance-2&lt;BR /&gt;10.142.0.2 instance-3.c.sacred-evening-197206.internal instance-3&lt;/P&gt;&lt;P&gt;10.142.0.4 instance-1.c.sacred-evening-197206.internal instance-1 # Added by Google&lt;BR /&gt;169.254.169.254 metadata.google.internal # Added by Google&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@instance-1 Admin]# cat /etc/resolv.conf&lt;BR /&gt;; generated by /sbin/dhclient-script&lt;BR /&gt;search c.sacred-evening-197206.internal. google.internal.&lt;BR /&gt;nameserver 169.254.169.254&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this file resolv.conf is not fetching the excat FQDN.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What to do please suggest.&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 06:01:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67623#M42320</guid>
      <dc:creator>prabhat10</dc:creator>
      <dc:date>2018-05-24T06:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67690#M42321</link>
      <description>&lt;P&gt;It is strange. Your config, seems to be ok. I don't know what is the problem.&lt;/P&gt;&lt;P&gt;I could recommend check the output of&lt;/P&gt;&lt;PRE&gt;hostname -f&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;host -t A 10.142.0.4&lt;/PRE&gt;&lt;P&gt;if the output is the FQDN, then probably something is wrong with your version of Dnstest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you also check the "/etc/nsswitch.conf" file?&lt;/P&gt;&lt;P&gt;Usually the hosts line is:&lt;/P&gt;&lt;PRE&gt;hosts:          files dns&lt;/PRE&gt;&lt;P&gt;Can you check if something else is before the above? E.g. "sss files dns".&lt;/P&gt;&lt;P&gt;The order matters. If "files" is first, then the local "/etc/hosts" will be checked first &lt;A href="http://man7.org/linux/man-pages/man5/nsswitch.conf.5.html" target="_self"&gt;http://man7.org/linux/man-pages/man5/nsswitch.conf.5.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2018 06:43:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67690#M42321</guid>
      <dc:creator>GeKas</dc:creator>
      <dc:date>2018-05-28T06:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67716#M42322</link>
      <description>&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]# host -t A 10.142.0.4&lt;BR /&gt;4.0.142.10.in-addr.arpa domain name pointer instance-1.c.sacred-evening-197206.internal.&lt;BR /&gt;[root@instance-1 Admin]# cat /etc/nsswitch.conf&lt;BR /&gt;#&lt;BR /&gt;# /etc/nsswitch.conf&lt;BR /&gt;#&lt;BR /&gt;# An example Name Service Switch config file. This file should be&lt;BR /&gt;# sorted with the most-used services at the beginning.&lt;BR /&gt;#&lt;BR /&gt;# The entry '[NOTFOUND=return]' means that the search for an&lt;BR /&gt;# entry should stop if the search in the previous entry turned&lt;BR /&gt;# up nothing. Note that if the search failed due to some other reason&lt;BR /&gt;# (like no NIS server responding) then the search continues with the&lt;BR /&gt;# next entry.&lt;BR /&gt;#&lt;BR /&gt;# Valid entries include:&lt;BR /&gt;#&lt;BR /&gt;# nisplus Use NIS+ (NIS version 3)&lt;BR /&gt;# nis Use NIS (NIS version 2), also called YP&lt;BR /&gt;# dns Use DNS (Domain Name Service)&lt;BR /&gt;# files Use the local files&lt;BR /&gt;# db Use the local database (.db) files&lt;BR /&gt;# compat Use NIS on compat mode&lt;BR /&gt;# hesiod Use Hesiod for user lookups&lt;BR /&gt;# [NOTFOUND=return] Stop searching if not found so far&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;# To use db, put the "db" in front of "files" for entries you want to be&lt;BR /&gt;# looked up first in the databases&lt;BR /&gt;#&lt;BR /&gt;# Example:&lt;BR /&gt;#passwd: db files nisplus nis&lt;BR /&gt;#shadow: db files nisplus nis&lt;BR /&gt;#group: db files nisplus nis&lt;/P&gt;&lt;P&gt;passwd: files&lt;BR /&gt;shadow: files&lt;BR /&gt;group: files&lt;/P&gt;&lt;P&gt;#hosts: db files nisplus nis dns&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;hosts: files dns&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;# Example - obey only what nisplus tells us...&lt;BR /&gt;#services: nisplus [NOTFOUND=return] files&lt;BR /&gt;#networks: nisplus [NOTFOUND=return] files&lt;BR /&gt;#protocols: nisplus [NOTFOUND=return] files&lt;BR /&gt;#rpc: nisplus [NOTFOUND=return] files&lt;BR /&gt;#ethers: nisplus [NOTFOUND=return] files&lt;BR /&gt;#netmasks: nisplus [NOTFOUND=return] files&lt;/P&gt;&lt;P&gt;bootparams: nisplus [NOTFOUND=return] files&lt;/P&gt;&lt;P&gt;ethers: files&lt;BR /&gt;netmasks: files&lt;BR /&gt;networks: files&lt;BR /&gt;protocols: files&lt;BR /&gt;rpc: files&lt;BR /&gt;services: files&lt;/P&gt;&lt;P&gt;netgroup: nisplus&lt;/P&gt;&lt;P&gt;publickey: nisplus&lt;/P&gt;&lt;P&gt;automount: files nisplus&lt;BR /&gt;aliases: files nisplus&lt;/P&gt;&lt;P&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;i guess the squence is right. And hostname -f and hostname -t A 10.142.04 gives FQDN of hostname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is something wrong with&amp;nbsp;my version of Dnstest ot its something else?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;What can I do next&lt;/P&gt;&lt;P&gt;kindly suggest.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 08:39:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67716#M42322</guid>
      <dc:creator>prabhat10</dc:creator>
      <dc:date>2018-05-29T08:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67720#M42323</link>
      <description>&lt;P&gt;Everything seem to be ok. I have the same configuration and cannot reproduce your issue.&lt;/P&gt;&lt;P&gt;I have CM 5.14.3 installed so my jar is /usr/share/cmf/lib/agent-5.14.3.jar&lt;/P&gt;&lt;P&gt;What version are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 10:23:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67720#M42323</guid>
      <dc:creator>GeKas</dc:creator>
      <dc:date>2018-05-29T10:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67742#M42324</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/25406"&gt;@GeKas&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;&lt;STRONG&gt;Version&lt;/STRONG&gt;&lt;SPAN&gt;: Cloudera Enterprise Trial 5.14.3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am also having same jar on the same path.&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;Is anything else where we can look to fix the issues. Beacuse of mismatch in hostname and conical name, health of cluser is in bad condition and all services are marked as red.&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 for your valuable time and support !!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 06:34:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/67742#M42324</guid>
      <dc:creator>prabhat10</dc:creator>
      <dc:date>2018-05-30T06:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79026#M42325</link>
      <description>&lt;P&gt;Same issue. Were you able to fix this?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2018 17:04:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79026#M42325</guid>
      <dc:creator>sim6</dc:creator>
      <dc:date>2018-08-25T17:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79087#M42326</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16612"&gt;@sim6&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DNSTest class does simple tests like this to get your "hostname":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;InetAddress addr = InetAddress.getLocalHost();&lt;/P&gt;&lt;P&gt;String hostname = addr.getHostName();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe that Java calls 'uname' under the hood to get the host name.&lt;/P&gt;&lt;P&gt;I believe that 'uname' gets the hostname from the proc location:&lt;BR /&gt;&lt;BR /&gt;/proc/sys/kernel/hostname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, try checking&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/etc/sysconfig/network&lt;/P&gt;&lt;P&gt;/etc/hosts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure the FQDN is specified&lt;/P&gt;&lt;P&gt;Check "uname -a"&lt;/P&gt;&lt;P&gt;Check "cat /proc/sys/kernel/hostname"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 00:19:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79087#M42326</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-08-28T00:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79155#M42327</link>
      <description>&lt;P&gt;uname -a returns NON-FQDN hostname. Can I edit&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;/proc/sys/kernel/hostname&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;and change the value to FQDN hostname?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;At the same time, I have 2 servers for which it's alright and does not change after 24 hours of restart (I guess I did not mention I start getting the different names after 24 hours of server restart , turns out it happens on network&amp;nbsp;restart, something we don't do but GCP does). That one also has NON-FQDN name in&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;/proc/sys/kernel/hostname and there it&amp;nbsp;however works fine&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 06:27:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79155#M42327</guid>
      <dc:creator>sim6</dc:creator>
      <dc:date>2018-08-29T06:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79169#M42328</link>
      <description>&lt;P&gt;I had this problem in the past.&amp;nbsp; Turns out a DNA record was set up correctly.&amp;nbsp; Try doing a nslookup on the machine to get ip, then do a nslookup on the IP.&amp;nbsp; Ensure both the machine names displayed are the same&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 11:30:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79169#M42328</guid>
      <dc:creator>chriswalton007</dc:creator>
      <dc:date>2018-08-29T11:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79215#M42329</link>
      <description>&lt;P&gt;I tried doing it. Indeed they match&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 04:47:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/79215#M42329</guid>
      <dc:creator>sim6</dc:creator>
      <dc:date>2018-08-30T04:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80916#M42330</link>
      <description>&lt;P&gt;I am having similar issue. We are using cloudera on GCP VM using Centos 7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is even when i have set the hostname to FQDN using hostname from root, looks like gcp reverts back the hostname to shortname causing the dnsTest to fail. Does anyone knows how to resolve this problem? Seems google is running a cron job that sets the hostname to short name.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 15:34:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80916#M42330</guid>
      <dc:creator>Rash</dc:creator>
      <dc:date>2018-10-09T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80917#M42331</link>
      <description>&lt;P&gt;It happened to us when we ported our servers from AWS to GCP using cloud endure. Created GCP VM instance directly and it got fixed.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 15:41:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80917#M42331</guid>
      <dc:creator>sim6</dc:creator>
      <dc:date>2018-10-09T15:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80919#M42332</link>
      <description>&lt;P&gt;We did not use endure, we are creating new GCP VMs using terraform and installing fresh cloudera manager on top of it. However, the hostname keeps changing to shortname even after setting the hostname to fqdn manually.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 15:52:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80919#M42332</guid>
      <dc:creator>Rash</dc:creator>
      <dc:date>2018-10-09T15:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80920#M42333</link>
      <description>&lt;P&gt;sad. Basically, hostname gets reset on network restart that happens every few hours in GCP hence the issue. GCP support suggested us to reset it using cron but that completely f**ed up our server communication. Suggest you to get in touch with GCP support since Cloudera or any other entity won't be able to help with this as far as I know&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 15:59:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80920#M42333</guid>
      <dc:creator>sim6</dc:creator>
      <dc:date>2018-10-09T15:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80921#M42334</link>
      <description>&lt;P&gt;Thanks much for the response. We are thinking of creating a cron job that sets it back, but agree it may impact our cluster. We will get in touch with GCP support to understand alternatives. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 16:02:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80921#M42334</guid>
      <dc:creator>Rash</dc:creator>
      <dc:date>2018-10-09T16:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: hostname and canonical name for this host are not consistent when checked from a Java process</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80922#M42335</link>
      <description>&lt;P&gt;Setting the cron job will take this particular error away but eventually, you are bound to run into a lot of other issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feel free to try though. Also, let&amp;nbsp;me know your experience after trying that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 16:04:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hostname-and-canonical-name-for-this-host-are-not-consistent/m-p/80922#M42335</guid>
      <dc:creator>sim6</dc:creator>
      <dc:date>2018-10-09T16:04:32Z</dc:date>
    </item>
  </channel>
</rss>

