Step "database setup" – failed test-connections – Cloudera set up

By | November 28, 2014

During Database set up phase, you did a “Test Connection” and you encounter ‘Unknown host:7432’ (or) wrongHostname:7432 error!
Either you have changed the hostname during the process and the oldHostname remained in the file /etc/cloudera-scm-server/ or cloudera manager left it blank.

In either case, go to the file /etc/cloudera-scm-server/ and check whether all the below 4 hostnames are properly mapped. If not, change it to the appropriate hostname

#vim /etc/cloudera-scm-server/
#Edit these properties and map to appropriate hostname

and restart the scm server as below:

# service clouders-scm-server restart

One thought on “Step "database setup" – failed test-connections – Cloudera set up

  1. Vijay

    Hi Puneetha B M

    When i try to start cluster on Cloudera Manager5 i got the following error
    /var/log/zookeeper/zookeeper-cmf-zookeeper-SERVER-localhost.log No Such file or directory

    i create a file manually in those directory but its not reseloved…

    OS- Ubuntu 14.4

    can you please help on this…


Leave a Reply

Your email address will not be published. Required fields are marked *