Cloudera Employee
Posts: 578
Registered: ‎01-20-2014
Re: The hostname and canonical name for this host are not consistent
That is hard to say. Please run this python one-liner on a host where you
don't get complaints and on the host you just fixed. Do they look similar?

# python -c "import socket; print socket.getfqdn(); print
socket.gethostbyname(socket.getfqdn())"


Regards,
Gautam Gopalakrishnan

View solution in original post

Who Me Too'd this solution