Support Questions
Find answers, ask questions, and share your expertise

hue web ui loading error cdh 5.2 installation

Explorer

Below error comers once i try to open hue web ui , on cdh5.2 test installation.

 

web ui url = http://cd1.test.com:8888

 

 

 

 

 

Traceback (most recent call last):
File "/usr/lib/hue/desktop/core/src/desktop/lib/wsgiserver.py", line 1198, in communicate
req.respond()
File "/usr/lib/hue/desktop/core/src/desktop/lib/wsgiserver.py", line 568, in respond
self._respond()
File "/usr/lib/hue/desktop/core/src/desktop/lib/wsgiserver.py", line 580, in _respond
response = self.wsgi_app(self.environ, self.start_response)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/wsgi.py", line 241, in __call__
response = self.get_response(request)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/base.py", line 179, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/base.py", line 228, in handle_uncaught_exception
return callback(request, **param_dict)
File "/usr/lib/hue/desktop/core/src/desktop/views.py", line 306, in serve_500_error
return render("500.mako", request, {'traceback': traceback.extract_tb(exc_info[2])})
File "/usr/lib/hue/desktop/core/src/desktop/lib/django_util.py", line 222, in render
**kwargs)
File "/usr/lib/hue/desktop/core/src/desktop/lib/django_util.py", line 144, in _render_to_response
return django_mako.render_to_response(template, *args, **kwargs)
File "/usr/lib/hue/desktop/core/src/desktop/lib/django_mako.py", line 117, in render_to_response
return HttpResponse(render_to_string(template_name, data_dictionary), **kwargs)
File "/usr/lib/hue/desktop/core/src/desktop/lib/django_mako.py", line 106, in render_to_string_normal
result = template.render(**data_dict)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/template.py", line 443, in render
return runtime._render(self, self.callable_, args, data)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py", line 786, in _render
**_kwargs_for_callable(callable_, data))
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py", line 818, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py", line 844, in _exec_template
callable_(context, *args, **kwargs)
File "/tmp/tmpdguKJE/desktop/500.mako.py", line 37, in render_body
__M_writer(unicode( commonheader(_('Error'), "", user) ))
File "/usr/lib/hue/desktop/core/src/desktop/views.py", line 388, in commonheader
'is_demo': desktop.conf.DEMO_ENABLED.get()
File "/usr/lib/hue/desktop/core/src/desktop/lib/django_mako.py", line 106, in render_to_string_normal
result = template.render(**data_dict)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/template.py", line 443, in render
return runtime._render(self, self.callable_, args, data)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py", line 786, in _render
**_kwargs_for_callable(callable_, data))
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py", line 818, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py", line 844, in _exec_template
callable_(context, *args, **kwargs)
File "/tmp/tmpdguKJE/desktop/common_header.mako.py", line 130, in render_body
__M_writer(escape(unicode( url('desktop.views.unsupported') )))
File "/usr/lib/hue/desktop/core/src/desktop/lib/django_mako.py", line 123, in url
return reverse(view_name, args=args, kwargs=view_args)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/urlresolvers.py", line 476, in reverse
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/urlresolvers.py", line 363, in _reverse_with_prefix
possibilities = self.reverse_dict.getlist(lookup_view)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/urlresolvers.py", line 276, in reverse_dict
self._populate()
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/urlresolvers.py", line 265, in _populate
lookups.appendlist(pattern.callback, (bits, p_pattern, pattern.default_args))
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/urlresolvers.py", line 216, in callback
self._callback = get_callable(self._callback_str)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/utils/functional.py", line 27, in wrapper
result = func(*args)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/urlresolvers.py", line 105, in get_callable
not module_has_submodule(import_module(parentmod), submod)):
File "/usr/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)
ImportError: No module named useradmin

 

 

 

Please help on this.

 

 

6 REPLIES 6

Explorer

[root@CDH2 conf]# yum list installed |grep hue hue.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-beeswax.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-common.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-hbase.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-impala.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-pig.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-plugins.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-rdbms.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-search.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-security.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-server.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-spark.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-sqoop.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 hue-zookeeper.x86_64 3.6.0+cdh5.2.0+509-1.cdh5.2.0.p0.37.el6 [root@CDH2 conf]#

 

 

 

 

[root@CDH2 conf]# ls -ltr /var/lib/hue
total 84
-rw-r--r-- 1 hue hue 77824 Nov 25 18:22 desktop.db
-rw-r--r-- 1 root root 530 Nov 27 10:59 hue.pth

Explorer

can anyone help me on this ?

 

😞

Explorer

Hi Guys,

 

 

can anyone help me on this ?

 

Regards

Anushke

Did you try to install the package 'hue-useradmin'?

 

Romain

Explorer

Hi Romain,

 

 

Thanks a lot and apreciate your response.

 

I tried , But i was not able to find the package.

 

 

 

[root@CDHH2 log]# yum install hue-useradmin
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
cloudera-cdh5 | 951 B 00:00
cloudera-manager | 951 B 00:00
keytrustee | 951 B 00:00
Setting up Install Process
No package hue-useradmin available.
Error: Nothing to do

 

 

 

 

Please guide me on this.

 

Regards

Anushke

Explorer

Hi Romain,

 

Please help me to find user admin package which compatible with this instalation.

 

Regards

Anushke