Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-9341

UI should show all runs of a pipeline

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.1.0
    • Fix Version/s: 6.2.0
    • Component/s: Pipelines, UI
    • Labels:
    • Rank:
      1|hzy27u:zzzzzzzzzzzzezzzzzzzzzzzzxhzzr1z2g

      Description

      Currently, the UI only shows 100 runs of a pipeline, even if it has had more than a 100 runs. The backend API for runs of a program defaults to 100 runs. However, it does support pagination, and the UI should support it as well.

      Here is the logic:

      1. If the number of runs returned in the API are less than 100, use the current logic for displaying runs. There can be no more than 10 pages of size 10 in this case.
      2. If the number of runs is 100, there could be more than 10 pages, which should be fetched by specifying the start timestamp as the endTs of the 100th run record, and the end timestamp of current.

      Keep repeating 1 and 2 until there are less than 100 runs.

      Also, I am not sure about this, but perhaps this can also be used to make pagination more efficient (fetch only 1 page at a time).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ajai Ajai Narayan
                Reporter:
                bhooshan Bhooshan Mogal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: