Support Questions

Find answers, ask questions, and share your expertise

how to uninstall hue packages ?

avatar

please tell me how to uninstall hue packages

1 ACCEPTED SOLUTION

avatar
Guru

if it is on RHEL/centos, take a look at

yum list installed | grep hue

on the node where you installed hue.

Once you know what the packages are, you can uninstall each one with

yum erase <hue package>

Most likely you will see hue, hue-beeswax, hue-common, hue-hcatalog, hue-pig and hue-server packages.

View solution in original post

8 REPLIES 8

avatar
Guru

if it is on RHEL/centos, take a look at

yum list installed | grep hue

on the node where you installed hue.

Once you know what the packages are, you can uninstall each one with

yum erase <hue package>

Most likely you will see hue, hue-beeswax, hue-common, hue-hcatalog, hue-pig and hue-server packages.

avatar

Hi ravi, if i uninstalled hue . is it possible to reinstall hue packages and if yes please tell me how to reinstall ?

avatar
Guru

Yes. Just follow instructions from here.

avatar

ravi im facing following error

File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/db/backends/mysql/base.py", line 14, in <module> raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory Starting hue: [FAILED]

avatar
Guru

Is this after reinstall? Are you planning to reinstall because of this error?

Try reinstalling mysql-libs. Look for that in your existing packages.

avatar

thanks Ravi and Divakar:)

avatar
Guru

@kishore sanchina

Please accept the answer. Thanks

avatar

@kishore sanchina

Step 1) Check for installed hue rpms.

[root@abs ~]# rpm -qa | grep hue

hue-common-2.6.1.2.3.4.0-3485.el6.x86_64

hue-pig-2.6.1.2.3.4.0-3485.el6.x86_64

hue-hcatalog-2.6.1.2.3.4.0-3485.el6.x86_64

hue-2.6.1.2.3.4.0-3485.el6.x86_64

hue-beeswax-2.6.1.2.3.4.0-3485.el6.x86_64

hue-server-2.6.1.2.3.4.0-3485.el6.x86_64

hue-oozie-2.6.1.2.3.4.0-3485.el6.x86_64

[root@adc ~]#

Step 2) un-installed all the listed packages

Ex : rpm remove <package Name> --here you need to un-install all the package.

Step 3) installe Hue again. ( ensure that you set up the HDP repository)

yum install hue