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

[oozie] Prevent 500 error when listing a workflow which coordinator is none

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10.0
    • Fix Version/s: 3.11.0
    • Component/s: con.oozie
    • Labels:
      None

      Description

      https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/s7y5A975IsA

        File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py", line 112, in get_response
          response = wrapped_callback(request, *callback_args, **callback_kwargs)
        File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/transaction.py", line 371, in inner
          return func(*args, **kwargs)
        File "/usr/local/hue/apps/oozie/src/oozie/views/dashboard.py", line 166, in decorate
          return view_func(request, *args, **kwargs)
        File "/usr/local/hue/apps/oozie/src/oozie/views/dashboard.py", line 385, in list_oozie_workflow
          'hue_coord': hue_coord,
      UnboundLocalError: local variable 'hue_coord' referenced before assignment
      

        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: