Program hue/hue.sh["runcpserver"]

51 views
Skip to first unread message

narayana jayanthi

unread,
Apr 26, 2016, 10:49:46 AM4/26/16
to Hue-Users
Hi,

The hue services fail to start on the cloudera cluster CDH5.

Below is the error of std.err file....

/opt/cloudera/parcels/CLDH5-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/bin/hue sycdb  --noinput... /usr/bin/env: python2.6: No such file or directory...

Can someone help here?

Thanks,
Narayana

Sai Krishnan Chirravuri

unread,
Apr 26, 2016, 1:58:03 PM4/26/16
to narayana jayanthi, Hue-Users
Hi Narayana,
   Do you have python2.6 installed on that node ?

To check the version, you can run 

`which python` --version


--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+u...@cloudera.org.

narayana jayanthi

unread,
Apr 26, 2016, 2:04:57 PM4/26/16
to Hue-Users, narayana...@googlemail.com
Hi,

Python is installed... the output of the command is

Python 2.6.6

thanks,
narayana

Sai Krishnan Chirravuri

unread,
Apr 26, 2016, 2:55:10 PM4/26/16
to narayana jayanthi, Hue-Users
Is the executable in /usr/bin ? If not, you can link it to '/usr/bin/' and try restart Hue service again.

narayana jayanthi

unread,
Apr 26, 2016, 8:30:46 PM4/26/16
to Hue-Users, narayana...@googlemail.com
Hello,

can you tell me how do I check this? also, can you give me few steps to link this?

thanks,
narayana

narayana jayanthi

unread,
Apr 27, 2016, 1:07:37 AM4/27/16
to Hue-Users

Can some one help here please?

Thanks
Narayana

Romain Rigaux

unread,
Apr 27, 2016, 1:19:52 AM4/27/16
to narayana jayanthi, Hue-Users
CLDH5-5.2.6-1.cdh5.2.6.p0.2, is it a custom parcel? How did you install it?

On Tue, Apr 26, 2016 at 7:49 AM, 'narayana jayanthi' via Hue-Users <hue-...@cloudera.org> wrote:

--

Romain Rigaux

unread,
Apr 27, 2016, 9:49:44 AM4/27/16
to narayana jayanthi, Hue-Users

You would probably need to install the mysql-dev packages, e.g. https://github.com/cloudera/hue#development-prerequisites

On Wed, Apr 27, 2016 at 6:12 AM, narayana jayanthi <narayana...@googlemail.com> wrote:

Hi,

I was able to resolve the  /usr/bin/env: python2.6 issue... 
now i am stuck with 

from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME

File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/contrib/admin/helpers.py", line 2, in <module>
    from django.contrib.admin.util import (flatten_fieldsets, lookup_field,
  File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/contrib/admin/util.py", line 1, in <module>
    from django.db import models
  File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/__init__.py", line 40, in <module>
    backend = load_backend(connection.settings_dict['ENGINE'])
  File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/__init__.py", line 34, in __getattr__
    return getattr(connections[DEFAULT_DB_ALIAS], item)
  File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/utils.py", line 92, in __getitem__
    backend = load_backend(db['ENGINE'])
  File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/utils.py", line 24, in load_backend
    return import_module('.base', backend_name)
  File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/backends/mysql/base.py", line 16, in <module>
    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: libpython2.6.so.1.0: cannot open shared object file: No such file or directory

Can someone help here?

thanks,

Narayana

Is there a way to set python path in any of the hue config or ini files?..pl let me know

Thanks
Narayana

On 27 Apr 2016 11:01 am, "narayana jayanthi" <narayana...@googlemail.com> wrote:

I used parcel..created local repo and installed...all the other services are up..hdfs,hbase,hive etc...except for hive

Thanks
Narayana

narayana jayanthi

unread,
May 16, 2016, 9:50:44 AM5/16/16
to Hue-Users, narayana...@googlemail.com
Hello Romain,

In the CM page, all services are shown as green dot including hue... Now when I click on Hue Web UI (hostname:8888), i get page can't be reached error...

Few things:

on the machine where hue is installed from Cloudera Manager.. there is nothing listening on Port 8888
From Cloudera Managera, if I add Hue as a service and start it.. Is it enough or do I need to do additional installation.

do you have any document reference to guide on this.

Thanks,
Narayana
Reply all
Reply to author
Forward
0 new messages