The version of HUE in Ambari is really old and deprecated.  I don't think it's 
officially supported any more. It doesn't appear that it even supports 
overriding hue-env, afaict, so you wouldn't be able to use Ambari to override 
that configuration.  There are some attempts at making an updated HUE service 
on github if you google around; I haven't tried any of them.

Wish I had better news for you.

Greg

From: Jeetendra G <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, September 23, 2015 at 7:28 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: COMMERCIAL:Hue on Ambrai

Hi All I have followed steps from 
http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.6.0/bk_installing_manually_book/content/rpm-chap-hue.html
but when I started the hue its giving me below error my server already have 2.7 
installed and path is also set correctly,why Hue is specifically looking for 
2.6 Python

Sep 23 17:05:01 hadoop07.housing.com<http://hadoop07.housing.com> 
runuser[30301]: pam_unix(runuser:session): session opened for user hue by 
(uid=0)
Sep 23 17:05:01 hadoop07.housing.com<http://hadoop07.housing.com> hue[30299]: 
/usr/bin/env: python2.6: No such file or directory
Sep 23 17:05:01 hadoop07.housing.com<http://hadoop07.housing.com> 
runuser[30311]: pam_unix(runuser:session): session opened for user hue by 
(uid=0)
Sep 23 17:05:01 hadoop07.housing.com<http://hadoop07.housing.com> hue[30299]: 
Starting hue: /usr/bin/env: python2.6: No such file or directory
Sep 23 17:05:01 hadoop07.housing.com<http://hadoop07.housing.com> hue[30299]: 
[FAILED]
Sep 23 17:05:01 hadoop07.housing.com<http://hadoop07.housing.com> systemd[1]: 
hue.service: control process exited, code=exited status=127
Sep 23 17:05:01 hadoop07.housing.com<http://hadoop07.housing.com> systemd[1]: 
Failed to start SYSV: Hue web server.
Sep 23 17:05:01 hadoop07.housing.com<http://hadoop07.housing.com> systemd[1]: 
Unit hue.service entered failed state.

Reply via email to