Do not add hosts with duplicate short host names to Cloudera Manager

0 votes
2 views
asked Aug 30, 2017 in Hadoop by admin (4,410 points)
SummaryHosts with duplicate short hostnames can cause issues and should not be added to Cloudera Manager
Applies To
Symptoms
  • Cluster contains hosts from multiple subdomains
  • Cluster short host names are not unique
  • Error messages in the SERVICEMONITOR logs:
    • 2016-12-06 20:10:55,110 WARN com.cloudera.cmon.kaiser.IpAndHostnameKeyedStore: (29 skipped) Massaged hostname collision: host1.subdomain1.example.com host1.subdomain2.example.com
      2016-12-06 20:10:55,197 WARN com.cloudera.cmon.firehose.polling.CdhTask: (14 skipped) Exception in doWork for task: yarn_YARN_SERVICE_STATE_TASK
      java.lang.NullPointerException
              at com.cloudera.cmon.firehose.polling.yarn.YarnServiceState.updateResourceManagers(YarnServiceState.java:358)
              at com.cloudera.cmon.firehose.polling.yarn.YarnServiceStateFetcher.doWork(YarnServiceStateFetcher.java:100)
              at com.cloudera.cmon.firehose.polling.yarn.YarnServiceStateFetcher.doWork(YarnServiceStateFetcher.java:43)
              at com.cloudera.cmon.firehose.polling.CdhTask$InstrumentedWork.doWork(CdhTask.java:230)
              at com.cloudera.cmf.cdhclient.CdhExecutor$1.call(CdhExecutor.java:125)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)

Cause

Cloudera Manager is designed to be resilient to minor name resolution misconfigurations, where the same host may be a member of multiple subdomains but all names resolve to the same physical host.  This means that all short (i.e. unqualified) host names must be unique when added to Cloudera Manager.

Thus, the following hosts should not be added to the same Cloudera Manager managed cluster:
host1.subdomain1.example.com (IP: 192.168.1.1)
host1.subdomain2.example.com (IP: 192.168.2.1)

Instructions

Do not add hosts to Cloudera Manager with duplicate short host names.

Please log in or register to answer this question.

...