[ 
https://issues.apache.org/jira/browse/YARN-12021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ayush Saxena resolved YARN-12021.
---------------------------------
    Fix Version/s: 3.6.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

> Clamp CapacityScheduler resource bar width in the web UI
> --------------------------------------------------------
>
>                 Key: YARN-12021
>                 URL: https://issues.apache.org/jira/browse/YARN-12021
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacity scheduler
>            Reporter: Yuan Luo
>            Assignee: Yuan Luo
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>
> The CapacityScheduler web UI calculates queue and partition resource bar CSS 
> widths directly from used capacity. Used capacity may legitimately exceed 
> 100%, so the page can generate widths such as width:487.5%, causing the 
> resource bar to overflow its container.
> The visual bar width should be clamped to the range [0%, 100%], while 
> preserving the actual displayed utilization percentage and the existing 
> over-capacity styling. This is a web UI-only fix and does not change 
> scheduler, capacity, or metrics semantics.
> The affected paths include the queue usage bar, the root queue bar without a 
> node label, the partition usage bar, and the root queue bar within a 
> partition.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to