Yuan Luo created YARN-12051:
-------------------------------

             Summary: 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


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 and Maven Wrapper 3.9.15: the regression reproduced with the 
original production code (11 tests, 2 failures, 0 errors, 0 skipped).
* Verification of the fix is in progress.

h2. Related PR
A pull request will be linked after validation.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to