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: [email protected]
For additional commands, e-mail: [email protected]