Support Questions
Find answers, ask questions, and share your expertise

How to uninstall Hue?


I wanted to add impala available to Hue, so I used as suggested in this message.


(the command was /opt/cloudera/parcels/CDH/lib/hue/tools/app_reg/
--install /opt/cloudera/parcels/CDH/lib/hue/apps/impala)


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?


Thank you for response but my main issue is uninstalling Hue now, since I tried hard to make it work, now I have some other issues with Hue. So, need to uninstall it completely.


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 



; ;