You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yuan Luo (Jira)" <ji...@apache.org> on 2026/10/12 03:02:00 UTC
[jira] [Created] (YARN-12021) Clamp CapacityScheduler resource bar width in the web UI
Yuan Luo created YARN-12021:
-------------------------------
Summary: 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
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: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org