You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Yongjun Zhang (Jira)" <ji...@apache.org> on 2023/08/24 16:32:00 UTC

[jira] [Created] (YUNIKORN-1932) Ignore not-started app when reporting app summary

Yongjun Zhang created YUNIKORN-1932:
---------------------------------------

             Summary: 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


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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org