[
https://issues.apache.org/jira/browse/YUNIKORN-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896536#comment-17896536
]
Wilfred Spiegelenburg commented on YUNIKORN-2925:
-------------------------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]