[
https://issues.apache.org/jira/browse/YARN-12051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ayush Saxena resolved YARN-12051.
---------------------------------
Fix Version/s: 3.6.0
Hadoop Flags: Reviewed
Resolution: Fixed
> Avoid redundant start-time filtering in the applications web UI
> ---------------------------------------------------------------
>
> Key: YARN-12051
> URL: https://issues.apache.org/jira/browse/YARN-12051
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: resourcemanager
> Reporter: Yuan Luo
> Assignee: Yuan Luo
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.6.0
>
>
> h2. Problem
> {{AppsBlock}} sends {{[0, Long.MAX_VALUE]}} as the application start-time
> range even when the web UI has no start-time restriction. {{ClientRMService}}
> then calls {{RMAppImpl.getStartTime()}}, acquiring and releasing the
> application read lock for this redundant filter.
> h2. Solution
> * Leave the start-time range unset when both bounds have their default values.
> * Preserve non-default ranges, inclusive boundaries, and invalid-range
> validation.
> * Add parameterized regression coverage and check the request after a
> protobuf round trip.
> h2. Validation
> * JDK 17.0.8, Maven Wrapper 3.9.15: reactor compilation passed.
> * {{TestAppsBlock}}: 11 tests, 0 failures, 0 errors, 0 skipped.
> * With the original production code, the default and explicit full-range
> cases fail (11 tests, 2 failures, 0 errors, 0 skipped).
> * Fresh Surefire XML and {{git diff --check}} verified.
> h2. Related PR
> [PR #8895|https://github.com/apache/hadoop/pull/8895]
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]