Reply
New Contributor
Posts: 9
Registered: ‎07-01-2017

How to uninstall Hue?

[ Edited ]

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?

Cloudera Employee
Posts: 698
Registered: ‎07-30-2013
New Contributor
Posts: 9
Registered: ‎07-01-2017

Re: How to uninstall Hue?

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.
Highlighted
Champion
Posts: 463
Registered: ‎05-16-2016

Re: How to uninstall Hue?

[ Edited ]

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

 

Announcements