Cloudera Employee
Posts: 578
Registered: ‎01-20-2014
Re: The hostname and canonical name for this host are not consistent
If you're running Red Hat or CenOS, ensure the /etc/sysconfig/network file
has the HOSTNAME field with the FQDN, not just the host name. (good)
HOSTNAME=server1 (bad)

Edit this and reboot the host. Just restarting network services might not
work. Then let us know if the error still continues to be logged.

Gautam Gopalakrishnan

View solution in original post

Who Me Too'd this solution