You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2024/11/08 02:18:00 UTC

[jira] [Comment Edited] (YUNIKORN-2925) Remove internal objects from application REST response

    [ https://issues.apache.org/jira/browse/YUNIKORN-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896536#comment-17896536 ] 

Wilfred Spiegelenburg edited comment on YUNIKORN-2925 at 11/8/24 2:17 AM:
--------------------------------------------------------------------------

The exposed {{TrackedResource}} information is also incorrect in every application state but COMPLETED. It might be correct in the state COMPLETING but in all other states it is not correct. That is known and by design. The tracking is not supposed to be accurate and only exposed in the COMPLETED state. We now expose data which is known to be incorrect.

If anyone would use it for analysis or to make decisions they would do that based on the  wrong data.


was (Author: wifreds):
The exposed {{TrackedResource}} information is also incorrect in every application state but COMPLETED. It might be correct in the state COMPLETING but in all other states it is not correct. We now expose data which is known to be incorrect.

If anyone would use it for analysis or to make decisions they would do that based on the  wrong data.

> Remove internal objects from application REST response
> ------------------------------------------------------
>
>                 Key: YUNIKORN-2925
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2925
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>              Labels: release-notes
>
> The REST api for application objects exposes an internal object type (resource) directly without conversion. That means any internal representation change will break REST compatibility. This should never have happened and needs to be reversed ASAP. All other REST calls 
> The other problem with the exposed information is that it is only accurate for the COMPLETING or COMPLETED state of an application. The data is incomplete at any other state as it is only updated when an allocation finishes. Running allocations are not included. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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