Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-589

Multiple app IDs could be generated for the same app

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Delivered
    • 0.10
    • 1.4.0
    • shim - kubernetes
    • None

    Description

      When multiple app management plugins are enabled (e.g. general and spark operator plugins), each plugin will generate its own app ID for the same app. This alone may not be a problem, but when viewing app states in the UI, it can get confusing, especially when two plugins have different opinions regarding the current state of the same application. We probably need to introduce a mechanism to optionally indicate whether a plugin is exclusive or not. If yes, then a plugin will prevent other plugins from acting on the same app. 

      In the attached screenshot, both app IDs are for the same Spark job, the first generated by the Spark operator plugin, the second by the general plugin. The true state is that the app has completed, as indicated by the operator. But the general plugin has no idea, as expected. In this case, we should just show the first row.

      Maybe this is mostly just a UI issue. But in the k8s shim, we also need a way to tell that they are the same thing.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuchaoran2011 Chaoran Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: