You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Jeetendra G <je...@housing.com> on 2015/09/23 14:28:51 UTC

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

Re: Hue on Ambrai

Posted by Jeetendra G <je...@housing.com>.
I build an rpm packages for Python2.6 and now I am getting below error,
does anyone hit similar issue

ep 24 15:47:00 hadoop07.housing.com runuser[697]:
pam_unix(runuser:session): session opened for user hue by (uid=0)
Sep 24 15:47:00 hadoop07.housing.com hue[695]: /usr/bin/env: python2.6:
Permission denied
Sep 24 15:47:00 hadoop07.housing.com runuser[707]:
pam_unix(runuser:session): session opened for user hue by (uid=0)
Sep 24 15:47:00 hadoop07.housing.com hue[695]: Starting hue: /usr/bin/env:
python2.6: Permission denied
Sep 24 15:47:00 hadoop07.housing.com runuser[707]:
pam_unix(runuser:session): session closed for user hue
Sep 24 15:47:00 hadoop07.housing.com hue[695]: [FAILED]
Sep 24 15:47:00 hadoop07.housing.com systemd[1]: hue.service: control
process exited, code=exited status=126
Sep 24 15:47:00 hadoop07.housing.com systemd[1]: Failed to start SYSV: Hue
web server.
Sep 24 15:47:00 hadoop07.housing.com systemd[1]: Unit hue.service entered
failed state.

On Wed, Sep 23, 2015 at 5:58 PM, Jeetendra G <je...@housing.com>
wrote:

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

Re: COMMERCIAL:Hue on Ambrai

Posted by Jeetendra G <je...@housing.com>.
Ya I remember there was some github packages not able ti get it now. can
you please help me in finding that?
can anybody from Ambari  dev team put some light on this?.
I have read lots of people using the Hue on Ambari.





On Wed, Sep 23, 2015 at 6:25 PM, Greg Hill <gr...@rackspace.com> wrote:

> 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 <je...@housing.com>
> Reply-To: "user@ambari.apache.org" <us...@ambari.apache.org>
> Date: Wednesday, September 23, 2015 at 7:28 AM
> To: "user@ambari.apache.org" <us...@ambari.apache.org>
> 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 runuser[30301]:
> pam_unix(runuser:session): session opened for user hue by (uid=0)
> Sep 23 17:05:01 hadoop07.housing.com hue[30299]: /usr/bin/env: python2.6:
> No such file or directory
> Sep 23 17:05:01 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 hue[30299]: Starting hue:
> /usr/bin/env: python2.6: No such file or directory
> Sep 23 17:05:01 hadoop07.housing.com hue[30299]: [FAILED]
> Sep 23 17:05:01 hadoop07.housing.com systemd[1]: hue.service: control
> process exited, code=exited status=127
> Sep 23 17:05:01 hadoop07.housing.com systemd[1]: Failed to start SYSV:
> Hue web server.
> Sep 23 17:05:01 hadoop07.housing.com systemd[1]: Unit hue.service entered
> failed state.
>
>

Re: COMMERCIAL:Hue on Ambrai

Posted by Greg Hill <gr...@RACKSPACE.COM>.
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 <je...@housing.com>>
Reply-To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Date: Wednesday, September 23, 2015 at 7:28 AM
To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
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.