07-18-2017 12:44 PM - edited 07-18-2017 02:17 PM
I wanted to add impala available to Hue, so I used app_reg.py as suggested in this message.
(the command was /opt/cloudera/parcels/CDH/lib/hue/tools/app_reg/app_reg.py
Now I can't access Hue Web UI, it says:
ImproperlyConfigured: Error importing module desktop.middleware: "No module named useradmin.models"
Now I want to uninstall Hue completely and have a fresh installation.
Removing service doesn't cut it. After adding Hue again, I get the same error.
Need a clean installation. Any way to do it?
07-19-2017 10:08 AM
07-19-2017 08:29 PM - edited 07-19-2017 08:30 PM
Are you manining your clusters using Cloudera Manager or Command Line ?
Do it in Cloudera manager is easy
you have to perform the below command manually also remove the database that you had configured for hue
sudo yum remove hue remove the user data and plus log files /var/lib/hue