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

[oozie] Progress report on dashboard can slow the page a lot

    Details

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

      Description

      My guess is that the heuristic for computing the progress column on the running jobs is making it slow.

      Could they put instead of 'progress': job.get_progress(),' https://github.com/cloudera/hue/blob/cdh4-2.5.0_4.5.0.x/apps/oozie/src/oozie/views/dashboard.py#L620

      'progress': not job.is_running() and 100 or job.get_progress(),

      or just if still too slow:

      'progress': 100,

      + check other API calls, cache, paginate or minimize them

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: