I have started docker based cloudera container using kitematics.It isnt starting Hue by default (all other services start ) and I restarted it. . Now it lets me access the http://192.168.99.100:80 but when I access Hue on port 8888 it gives this error after a while -
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/MySQL_python-1.2.5-py2.6-linux-x86_64.egg/MySQLdb/__init__.py", line 81, in Connect return Connection(*args, **kwargs) File "/usr/lib/hue/build/env/lib/python2.6/site-packages/MySQL_python-1.2.5-py2.6-linux-x86_64.egg/MySQLdb/connections.py", line 193, in __init__ super(Connection, self).__init__(*args, **kwargs2) OperationalError: (2003, "Can't connect to MySQL server on 'quickstart.cloudera' (110)")
I see that MYSQLD service is running though. I am not sure what is the issue . can you please help ?
I encountered the same issue running the docker-based cloudera quickstart on a AWS EC2 instance and accessing from my local computer. The resolution was as follows:
It seems that the Hue UI wants to access the MySQL database directly, which is a bit strange to me... in any case, that means that the client computer / browser needs to be able to access the MySQL database at `quickstart.cloudera:3306`. Hope that helps, even if long after the fact!