Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to uninstall Hue?

How to uninstall Hue?

New Contributor

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

3 REPLIES 3

Re: How to uninstall Hue?

New Contributor
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.

Re: How to uninstall Hue?

Champion

Are you manining your clusters using Cloudera Manager or Command Line ? 

Do it in Cloudera manager is easy 

or 

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