You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Ayub Pathan (Jira)" <ji...@apache.org> on 2020/07/17 02:12:00 UTC

[jira] [Created] (YUNIKORN-288) With StateAware Sorting policy enabled, Race condition while moving the apps from accepted to starting state

Ayub Pathan created YUNIKORN-288:
------------------------------------

             Summary: With StateAware Sorting policy enabled, Race condition while moving the apps from accepted to starting state
                 Key: YUNIKORN-288
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-288
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: core - scheduler
            Reporter: Ayub Pathan


With 3 apps submitted with each having one pod, below are the expected states..
{noformat}
At this point, the apps state will be
app01 - Starting
app02 - Accepted
app03 - Accepted{noformat}

Now, submit one more pod to app01 and the expected states for each app will be..
{noformat}
Add another pod for app01, and once this pod is allocated, verify app states:
   app01 - Running => pod1, pod2
   app02 - Starting => pod1
   app03 - Accepted => pod1
 {noformat}

Due to race condition, once the app01 pods are allocated, both app02 & app03 move Starting state which is not expected(app03 should be in Accepted state) as per above...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org