On BDA Cloudera Manager(CM) Host Inspector Displays Errors Against /etc/hosts File (Doc ID 1612949.1)

Last updated on OCTOBER 11, 2016

Applies to:

Big Data Appliance Integrated Software - Version 2.1.0 to 2.4.0 [Release 2.1 to 2.4]
Linux x86-64

Symptoms

On Oracle Big Data Appliance(BDA), in Cloudera Manager(CM) when Host Inspector is executed , validation checks show up as failed for /etc/hosts file 

The following errors were found while checking /etc/hosts...
The hostname <node01>  is not the first match for address <node01-IB-IP>in /etc/hosts on  <node01> . Instead, <node01>-priv is the first match. The FQDN must be the first entry in /etc/hosts for the corresponding IP.
In /etc/hosts on <node01>  , the IP <node01-IB-IP> is present multiple times. A given IP should only be listed once.
...........
<The same errors for ALL the nodes in the Cluster>

Steps to follow to execute Host Inspector

a) Log into Cloudera Manager(CM)

b) Click on Hosts tab 

c) Click on 'Host Inspector'

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms