[
https://issues.apache.org/jira/browse/YUNIKORN-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196021#comment-17196021
]
Kinga Marton commented on YUNIKORN-402:
---------------------------------------
I think that I have the root cause of this issue:
The code what should change the status to {{waiting}} is called when there are
AllocationAsksToRelease:
[https://github.com/apache/incubator-yunikorn-core/blob/master/pkg/scheduler/scheduler.go#L252,]
but is not called when there are {{allocationsToRelease}}:
[https://github.com/apache/incubator-yunikorn-core/blob/master/pkg/scheduler/scheduler.go#L266-L298]
[~wwei] what is the difference between an allocationAsk and an allocation?
> Make sure when there is no allocation in an app, the app state is "Waiting".
> ----------------------------------------------------------------------------
>
> Key: YUNIKORN-402
> URL: https://issues.apache.org/jira/browse/YUNIKORN-402
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Reporter: Kinga Marton
> Assignee: Kinga Marton
> Priority: Major
>
> If there is no allocation for an app, according to
> [http://yunikorn.apache.org/docs/next/design/scheduler_object_states] it's
> status should be waiting instead of running, as mentioned here:
> https://issues.apache.org/jira/browse/YUNIKORN-201?focusedCommentId=17186402&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17186402
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]