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

Application should be accounted under correct queue if the same app was submitted earlier under different queue.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10
    • core - scheduler
    • None

    Description

      Steps to repro:

      1. Submit App-01 under namespace “development”
      2. Which results in creation of “development” queue.
      3. Now, once the App-01 is complete, delete the namespace.
      4. Queue “development” is not cleaned up and /v1/queues return the old queue information.
      5. Now submit App-01 again under different namespace - say “test01"

      What is the expected behavior in this case?

      1. Yunikorn should schedule the app in “test-01” queue?
      2. or should run the app under old “development” queue, which is no more existing in terms of namespace..

      To me, it looks like #1 is accurate and #2 is a bug as the namespace no more exists and its not expected to run under non-existing, un-accounted queue.. 

      This can be a common use case if user or code submits an app with same name under different namespaces. 

       

      Currently, Yunikorn considers app name while generating appID, suggestion is to consider namespace as well while generating the appID along with app name. In that case, every app is uniquely identified! 

       

      This Jira can be used to discuss and brainstorm different approaches on how to address this issue.

       

      cheersyang wilfreds

      Attachments

        Activity

          People

            Unassigned Unassigned
            ayubpathan Ayub Pathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: