Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Hue Install Fails on RHEL 7 .. expecting python 2.6 .. rhel 7 defaults to phython 2.7

avatar
Explorer

getting the following error message

Running transaction

Installing : hue-common-2.6.1.2.3.4.0-3485.el6.x86_64 1/7

Installing : hue-beeswax-2.6.1.2.3.4.0-3485.el6.x86_64 2/7

/usr/lib/hue/build/env/bin/python: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory

Installing : hue-hcatalog-2.6.1.2.3.4.0-3485.el6.x86_64

1 ACCEPTED SOLUTION

avatar
Master Mentor
6 REPLIES 6

avatar
Master Mentor

avatar

Do you happen to know when they will support Hue on CentOS 7?

avatar

@ajaysingh, @Neeraj Sabharwal is correct. I suggest you use the python virtualenv to workaround this requirement.

avatar
Contributor

@Scott Shaw Scott i have a sever which doesn't connect to the internet, could you provide detailed steps on how virtualenv can be installed and employed to resolve the Hue issue on CentOS 7.2.. Your inputs are much appreciated...

avatar
Contributor

Dear @ajaysingh

Effectively, Hue is not supported neither CentOS 7 nor RHEL 7 in HDP 2.3.

However, if you want to install Hue on HDP 2.3 you must remove hue 2.6 packages, i.e, yum list hue*, yum remove hue*.

After that follow the procedure to Installing Hue 3.9 on HDP 2.3 – Amazon EC2 RHEL 7:

http://gethue.com/hadoop-hue-3-on-hdp-installation-tutorial.

For me works on HDP 2.3 on a cluster of 4 nodes on Oracle Linux 7 on Azure without Kerberos.

Recommendations:

1)Complement the steps in the above link with https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_installing_manually_book/content/ch_inst...

2)Create hue linux user, before installing Hue 3.9 for example: id uid=1023(hue) gid=54324(hadoop) groups=54324(hadoop),100(users),1023(hue)

3)Create hdfs directories: /usr/admin (it must be create for ambary hive views), /usr/hue. hadoop fs -mkdir /user/hue hadoop fs -chown hue:hadoop /user/hue

Best regards,

JAG

Good luck!

avatar
Explorer

you should build HUE in centos7 yourself. I have build HUE 3.12.0 in ubuntu14.4 /centos7 , and install HUE in HDP 2.5.3 in ubuntu14.4/centos7.