[
https://issues.apache.org/jira/browse/YUNIKORN-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415888#comment-17415888
]
Chia-Ping Tsai commented on YUNIKORN-834:
-----------------------------------------
The partition name used by web repo is from deprecated API `/ws/v1/queues`.
However, the web repo already can't get correct partition name because another
PR
(https://github.com/apache/incubator-yunikorn-core/commit/160343fa2caacc9c825a3a92e717376a3f1c1f22)
changed the key name from "partitionname" to "partitionName". That is
unrelated to this issue, and I will file another issue to fix it.
> Unify the "partition name" in REST APIs
> ---------------------------------------
>
> Key: YUNIKORN-834
> URL: https://issues.apache.org/jira/browse/YUNIKORN-834
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - common, webapp
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Minor
> Labels: pull-request-available
>
> The partition name in response always contains the cluster id. By contrast,
> the partition name in URL does not include cluster id. That is weird and
> inconvenient to APIs users because it needs to parse partition name from the
> normalized partition name.
> It seems to me the partition name in response should exclude cluster id. The
> cluster id should be a separate field in response.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]