[
https://issues.apache.org/jira/browse/YUNIKORN-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758696#comment-17758696
]
Yongjun Zhang commented on YUNIKORN-1932:
-----------------------------------------
Thanks for the quick help [~ccondit] .
A follow-up thought,
On the other hand, we hope there is a summary entry for each app submitted,
even if it’s not started. So reporting startTime as -62135596800000 to indicate
that the app is not started maybe ok.
Or if we want to make it better, we can somehow have another status field
reported in the summary to indicate the real application state (currently the
state reported is the pod state, not the application state). but this is hard
since Yunikorn has no notion of real application state.
> Ignore not-started app when reporting app summary
> -------------------------------------------------
>
> Key: YUNIKORN-1932
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1932
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - scheduler
> Reporter: Yongjun Zhang
> Assignee: Yongjun Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> Yunikorn reported incorrect startTime:
> 2023/08/16 22:17:47 YK_APP_SUMMARY:
> \{"appId":"test-app","submissionTime":"1692223302308","startTime":"-62135596800000","finishTime":"1692224267013","user":"nobody","queue":"root.queue-large","state":"Completed","rmID":"test-cluster","resourceUsage":{}}
> The startTime is initialized when entering Starting state, but look at the
> logs, we can see that the Starting state was not entered. The log has the
> following state transition:
> “New”
> ” Submitted”
> “Accepted”
> “Completing”
> but no “Starting”
> This is because the app was never started.
> This Jira is to propose that we ignore this kind of apps so it will not
> appear in YK_APP_SUMMARY, since app summary's purpose is to report resource
> usage, and the resource is 0 for this kind of apps.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]