Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Configuring HUE Service

Highlighted

Configuring HUE Service

New Contributor

Hello,

 

I am trying to configure hue from Cloudera Manager.. I am facing the below issues

 

in log file..

 

__init__ WARNING Couldn't import snappy. Support for snappy compression disabled.

 

in std err file

self.validate()
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/core/management/base.py", line 266, in validate
num_errors = get_validation_errors(s, app)
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/core/management/validation.py", line 30, in get_validation_errors
for (app_name, error) in get_app_errors().items():
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/models/loading.py", line 158, in get_app_errors
self._populate()
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/models/loading.py", line 67, in _populate
self.load_app(app_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/models/loading.py", line 88, in load_app
models = import_module('.models', app_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/apps/jobbrowser/src/jobbrowser/models.py", line 20, in <module>
import lxml.html
File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/lxml-2.2.2-py2.6-linux-x86_64.egg/lxml/html/__init__.py", line 12, in <module>
from lxml import etree
ImportError: /opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/lxml-2.2.2-py2.6-linux-x86_64.egg/lxml/etree.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject

 

Can someone help here?

 

Thanks,

Narayana

 

 

 

1 REPLY 1

Re: Configuring HUE Service

Contributor

Not sure where the snappy codec is used in Hue, but installing the package (or egg) helps:

 

On Debian: installing python-snappy package, or 'pip install snappy'

 

On RedHat: I think there is no python snappy package, but 'pip install snappy' works

 

Don't have an account?
Coming from Hortonworks? Activate your account here