04-16-2015 02:00 AM
I to all,
I have install cloudera manager 5.3.3 on my machine (OS : ubuntu 12.04 lts) . Now I have to launch cloudera manager through firefox to continue the installaion and setup , but I'm getting the error:
org.hibernate.exception.GenericJDBCException: Could not open connection
Can someone help me fix his issue, please?
04-16-2015 05:19 AM
Check if your CM database is running.
If you use the embedded Postgresql database: # service cloudera-scm-server-db status
If you configured an external db, check manually if you can connect to it, using the user, password, host, port as set in /etc/cloudera-scm-server/db.properties
04-16-2015 05:43 AM
Hi gzigldrum ,
Thanks for your reply. But after having looked for long time a solution, I have decided again uninstall cloudera manager and install.
Now I have another problem. To complete the installation I have to access to cloudera-manager through
http://localhost:7180/. but at step 5 , I got the following error :
Installation failed. Failed to receive heartbeat from agent.
Can you help me fix it please?
04-16-2015 06:22 AM
What is the hostname of the host that you added?
Can you # telnet <hostname> 7182
Does it connect?
If not, disable the firewall on this host for a test.
04-16-2015 06:42 AM
Doing #telnet <hostname> 7182
it do connect. The result is :
Connected to bsbigdata-Server.
Escape character is '^]'.
Connection closed by foreign host
04-16-2015 06:52 AM
Did you # telnet localhost 7182 or did you # telnet bsbigdata-Server 7182 ?
Is this the same host where CM is installed?
Did you run the telnet from the CM host?
Check host name entries in /etc/hosts, as shown in http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_cm_requirements.h...
04-16-2015 06:57 AM
What path are you taking through the documentation for your pre-setup check and installation... Path A? Path B?
There are system requirements laid out for the systems you are going to install cluster services on, here:
Make sure you have addressed the networking and security requirements, especially the part about host name forward and reverse resolution as its a critical step.
The various approaches to installation are laid out here, with Path A being the easiest to use for Lab/Sandbox setup of CM to configure a cluster.
04-16-2015 08:03 AM
I did #tenet bsbigdata-Serevr 7182 first .
Doing #telnet localhost 7182 return the following result :
bsbigdata@bsbigdata-Server:~$ telnet localhost 7182
Connected to bigdata-virtual-machine.
Escape character is '^]'.
My /etc/hosts content is :
127.0.0.1 bigdata-virtual-machine localhost 127.0.0.1 localhost 127.0.1.1 bsbigdata-Server # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
For the installation I used the cloudera-manager-installer.bin that I found at
04-16-2015 08:09 AM
Please do not use 127.0.1.1 for bsbigdata-Server. This should be localhost.
See explanation in this Community https://community.cloudera.com/t5/Cloudera-Manager-Installation/Issue-while-installing-Hadoop/m-p/11...
Your hosts file should look like this (adjust the IP address for your host):
# cat /etc/hosts
10.11.12.13 bsbigdata-server.yourdomain bsbigdata-server
04-16-2015 09:43 AM
An from the link I gave, you would scroll down to this section
We present the overview of network requirements, with an example of what hosts should look like, there.