Created on 09-09-2015 04:50 AM - edited 09-16-2022 02:40 AM
Hello guys,
Im new in the world of hadoop and cloudera on my first steps i tryed to insalled a working hue App on the quick start vm for test cases.
The create_desktop_app and installation worked well without any errors but when I going to open the app on the UI (localhost:8888/app/)
It shows an server error(500).
The log showed me this :
09/Sep/2015 05:10:21 -0700] access WARNING 127.0.0.1 cloudera - "GET /static/calculator/art/icon_calculator_48.32900276221d.png HTTP/1.1" -- 404 not found
[09/Sep/2015 05:10:21 -0700] middleware INFO Processing exception: "/usr/lib/hue/build/static/calculator/art/icon_calculator_48.32900276221d.png" does not exist: Traceback (most recent call last): File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", line 371, in inner return func(*args, **kwargs) File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/views/static.py", line 58, in serve raise Http404(_('"%(path)s" does not exist') % {'path': fullpath}) Http404: "/usr/lib/hue/build/static/calculator/art/icon_calculator_48.32900276221d.png" does not exist
[09/Sep/2015 05:10:21 -0700] access DEBUG 127.0.0.1 cloudera - "GET /static/calculator/art/icon_calculator_48.32900276221d.png HTTP/1.1"
And this:
[09/Sep/2015 05:10:48 -0700] middleware INFO Processing exception: unsupported operand type(s) for +: 'Undefined' and 'str': Traceback (most recent call last): File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", line 371, in inner return func(*args, **kwargs) File "/usr/lib/hue/calculator/src/calculator/views.py", line 22, in index return render('index.mako', request, dict(date=datetime.datetime.now())) File "/usr/lib/hue/desktop/core/src/desktop/lib/django_util.py", line 225, in render **kwargs) File "/usr/lib/hue/desktop/core/src/desktop/lib/django_util.py", line 146, 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 125, 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 114, 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/tmpjgo0nD/calculator/index.mako.py", line 50, in render_body __M_writer(escape(unicode(shared.menubar(section='mytab')))) File "/tmp/tmpjgo0nD/calculator/shared_components.mako.py", line 52, in render_menubar __M_writer(escape(unicode( static(calculator + '/art/icon_calculator_48.png') ))) TypeError: unsupported operand type(s) for +: 'Undefined' and 'str'
[09/Sep/2015 05:10:48 -0700] access INFO 127.0.0.1 cloudera - "GET /calculator/ HTTP/1.1"
[09/Sep/2015 05:10:39 -0700] resource DEBUG GET Got response: {"apps":null}
So its not able to locate the image of the icon( on localhost:8888 under "other apps" theres only a broken image symbol.
Maybe i forgett some steps?
So is there any easy way to fix this? Just change some paths?
Thansk for help!
Created 09-10-2015 10:41 AM
Created 09-10-2015 02:57 PM
This has been resolved, thanks for reporting!
Created 09-10-2015 10:41 AM
Created 09-10-2015 02:57 PM
This has been resolved, thanks for reporting!