[
https://issues.apache.org/jira/browse/YUNIKORN-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17879752#comment-17879752
]
Hsien-Cheng(Ryan) Huang edited comment on YUNIKORN-2853 at 9/6/24 4:04 AM:
---------------------------------------------------------------------------
Looks like it's due to this tolower() func:
https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/partition.go#L475
Also in docs we say can contain alphanumeric character ([a-z0-9A-Z]), I think
we can either do a doc change or a code change?
https://yunikorn.apache.org/docs/next/user_guide/queue_config#queues
cc [~Yu-Lin Chen] WDYT?
was (Author: JIRAUSER304421):
Looks like it's due to this tolower() func:
https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/partition.go#L475
, and looks like it's expected.
Also in docs we say can contain alphanumeric character ([a-z0-9A-Z]), I think
we can either do a doc change or a code change?
https://yunikorn.apache.org/docs/next/user_guide/queue_config#queues
cc [~Yu-Lin Chen] WDYT?
> Incorrect Queue Name in Queue Rest API Response
> -----------------------------------------------
>
> Key: YUNIKORN-2853
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2853
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler
> Reporter: Rajesh Kanhaiya Lal
> Assignee: Hsien-Cheng(Ryan) Huang
> Priority: Major
> Labels: newbie
>
> Hi Team,
> I observed that when we create a queue with uppercase letters, the REST API
> to fetch the queues (/ws/v1/partition/\{partitionName}/queue/\{queueName})
> returns the name incorrectly.
> For example:
> *Queue Name:* root_Test22-a_b_#_c_#_d__e@dom:ain
> *REST API Response:* root.root_test22-a_b_#_c_#_d__e@dom:ain
> The ConfigMap shows the correct entry in the Yunikorn configuration. The
> problem seems to occur only with the REST API call.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]