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

A 404 for preview is not handled correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.2
    • Component/s: UI
    • Labels:
      None
    • Rank:
      1|i00uen:

      Description

      Steps to reproduce,

      1. Go to pipeline studio
      2. Create a pipeline and start the preview.
      3. Once the preview is running and you are able to see preview data, open concurrently do this in 11 different windows and do the same
      4. The preview that was started first will start to receive 404 after sometime

      This happens because we have a max of 10 concurrent previews that can run and if preview service receives any more it will purge the latest completed preview which causes the UI to show 404 (since everything about the preview is wiped out).

      The right solution would be to handle this in the backend and that will come as part of scaling preview.

      The very least UI should enable users to get out of the preview mode and start another preview and show appropriate message in the UI about non-availability of preview data.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yuki Yuki Jung
                Reporter:
                ajai Ajai Narayan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: