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?
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