Uploaded image for project: 'Hue'
  1. Hue
  2. HUE-2174

[jobbrowser] HTTP 500 error if on MR1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.7.0
    • Component/s: app.jobbrowser
    • Labels:
      None

      Description

      Traceback (most recent call last):
      File "/home/hue/Development/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/contrib/staticfiles/handlers.py", line 67, in _call_
      return self.application(environ, start_response)
      File "/home/hue/Development/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/handlers/wsgi.py", line 241, in _call_
      response = self.get_response(request)
      File "/home/hue/Development/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py", line 179, in get_response
      response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
      File "/home/hue/Development/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py", line 228, in handle_uncaught_exception
      return callback(request, **param_dict)
      File "/home/hue/Development/hue/desktop/core/src/desktop/views.py", line 303, in serve_500_error
      return django.views.debug.technical_500_response(request, *exc_info)
      File "/home/hue/Development/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
      response = callback(request, *callback_args, **callback_kwargs)
      File "/home/hue/Development/hue/apps/jobbrowser/src/jobbrowser/views.py", line 97, in jobs
      jobs = get_api(request.user, request.jt).get_jobs(user=request.user, username=user, state=state, text=text, retired=retired)
      File "/home/hue/Development/hue/apps/jobbrowser/src/jobbrowser/api.py", line 44, in get_api
      return YarnApi(user)
      File "/home/hue/Development/hue/apps/jobbrowser/src/jobbrowser/api.py", line 209, in _init_
      self.resource_manager_api = resource_manager_api.get_resource_manager()
      File "/home/hue/Development/hue/desktop/libs/hadoop/src/hadoop/yarn/resource_manager_api.py", line 50, in get_resource_manager
      _api_cache = ResourceManagerApi(yarn_cluster.RESOURCE_MANAGER_API_URL.get(), yarn_cluster.SECURITY_ENABLED.get())
      File "/home/hue/Development/hue/desktop/core/src/desktop/lib/conf.py", line 354, in _getattr_
      return self.config.get_member(self.get_data_dict(), attr, self.prefix)
      File "/home/hue/Development/hue/desktop/core/src/desktop/lib/conf.py", line 423, in get_member
      return self.members[attr].bind(data, prefix)
      KeyError: 'RESOURCE_MANAGER_API_URL'

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              enricoberti Enrico Berti
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: