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

[oozie] Show error on dashboard when server is down

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.8.0
    • Fix Version/s: 3.9.0
    • Component/s: con.oozie
    • Labels:
      None

      Description

      If Oozie is down and I go on /oozie/list_oozie_workflows/, the 2 spinners spin endlessy

      We get 500 errors in the console but don't show them:

      {
        "message": "An error occurred with Oozie.", 
        "traceback": [
          [
            "/home/romain/projects/hue/apps/oozie/src/oozie/views/dashboard.py", 
            166, 
            "decorate", 
            "return view_func(request, *args, **kwargs)"
          ], 
          [
            "/home/romain/projects/hue/apps/oozie/src/oozie/views/dashboard.py", 
            197, 
            "list_oozie_workflows", 
            "wf_list = oozie_api.get_workflows(**kwargs)"
          ], 
          [
            "/home/romain/projects/hue/desktop/libs/liboozie/src/liboozie/oozie_api.py", 
            127, 
            "get_workflows", 
            "return self.get_jobs('wf', offset, cnt, filters)"
          ], 
          [
            "/home/romain/projects/hue/desktop/libs/liboozie/src/liboozie/oozie_api.py", 
            117, 
            "get_jobs", 
            "resp = self._root.get('jobs', params)"
          ], 
          [
            "/home/romain/projects/hue/desktop/core/src/desktop/lib/rest/resource.py", 
            97, 
            "get", 
            "return self.invoke(\"GET\", relpath, params, headers=headers, allow_redirects=True)"
          ], 
          [
            "/home/romain/projects/hue/desktop/core/src/desktop/lib/rest/resource.py", 
            78, 
            "invoke", 
            "urlencode=self._urlencode)"
          ], 
          [
            "/home/romain/projects/hue/desktop/core/src/desktop/lib/rest/http_client.py", 
            161, 
            "execute", 
            "raise self._exc_class(ex)"
          ]
        ], 
        "detail": "('Connection aborted.', error(111, 'Connection refused'))", 
        "title": "Error"
      }
      

        Attachments

          Activity

            People

            • Assignee:
              krish Sai K Chirravuri
              Reporter:
              romain Romain Rigaux
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: