[
https://issues.apache.org/jira/browse/YUNIKORN-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089252#comment-17089252
]
Wilfred Spiegelenburg commented on YUNIKORN-103:
------------------------------------------------
For an end state we have an open issue and that is not part of the core: if the
shim knows that the app is done and passes it on the app will move to the next
state. The code in the core is there: YUNIKORN-26
We do however need to document the application states and what they mean
(seperate issue for docs).
For the current running state we have one major issue and that is that as soon
as an allocation request is added we move the app to a state of running. That
does not mean that the app has been allocated anything. This is a bug we need
to fix. We should not move to running until we have an allocation for the app.
The other thing we need to show is an app that has no outstanding allocation
requests *and* no active allocations then it should be moved out of the running
state. like finishing or something.
> Web UI shows the applications as Runnnig, even if they are in Pending state
> ---------------------------------------------------------------------------
>
> Key: YUNIKORN-103
> URL: https://issues.apache.org/jira/browse/YUNIKORN-103
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - cache, webapp
> Reporter: Kinga Marton
> Priority: Minor
> Attachments: Screenshot 2020-04-20 at 14.27.50.png, Screenshot
> 2020-04-20 at 14.28.24.png
>
>
> When there are some applications what are unschedulable due to some reason
> (in my case it was a resource problem), in the Kubernetes dashboard I could
> see that the Pod was in pending state, but the Yunikorn api showed that the
> application is running.
> I think this mismatch can cause misunderstandings and it would be good to
> have the status of an application in synch with the pod status, or at least
> document the state machine of the applications.
> [~wwei] do we have such a documentation? If yes, please share it with me and
> the issue can be closed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]