Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-3840

[jb] Add debug info in possible 500 when pulling job conf from YARN

    Details

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

      Description

        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/apps/jobbrowser/src/jobbrowser/views.py", line 85, in decorate
          return view_func(request, *args, **kwargs)
        File "/usr/lib/hue/apps/jobbrowser/src/jobbrowser/views.py", line 228, in single_job
          'recent_tasks': recent_tasks and recent_tasks[:5] or [],
        File "/usr/lib/hue/desktop/core/src/desktop/lib/django_util.py", line 227, in render
          **kwargs)
        File "/usr/lib/hue/desktop/core/src/desktop/lib/django_util.py", line 148, 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/tmpmrlWVP/jobbrowser/job.mako.py", line 292, in render_body
          output_dir = job.conf_keys.get('mapredOutputDir', "")
        File "/usr/lib/hue/apps/jobbrowser/src/jobbrowser/yarn_models.py", line 215, in conf_keys
          return dict([(line['name'], line['value']) for line in self.full_job_conf['property']])
        File "/usr/lib/hue/apps/jobbrowser/src/jobbrowser/yarn_models.py", line 210, in full_job_conf
          self._full_job_conf = self.api.conf(self.id)['conf']
      TypeError: string indices must be integers, not str
      
      [09/May/2016 13:09:55 -0700] resource     DEBUG    GET Got response: <!DOCTYPE html PUBLIC "-//W3C//D...
      
      [09/May/2016 13:09:55 -0700] kerberos_    DEBUG    handle_response(): returning <Response [200]>
      
      [09/May/2016 13:09:55 -0700] kerberos_    DEBUG    handle_mutual_auth(): Handling: 200
      
      [09/May/2016 13:09:55 -0700] connectionpool DEBUG    "GET /jobhistory/job/job_1462801799797_0002/ws/v1/mapreduce/jobs/job_1462801799797_0002/conf HTTP/1.1" 200 9905
      

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              romain Romain Rigaux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: