joseluisll commented on PR #8838: URL: https://github.com/apache/hadoop/pull/8838#issuecomment-7119243033
The only -1 in the latest Yetus run (#5, commit 57839af) is one unit test failure in `hadoop-yarn-server-resourcemanager`. It is not related to this change: - `TestCapacityOverTimePolicy.testAllocation[14]` (`ONEMINUTE, 0.25, 3, TWOHOURPERIOD`, expected to pass) threw `PlanningQuotaException: Integral (avg over time) quota capacity 0.25 over a window of 86400 seconds, would be exceeded...`. The cause was `PlanningException: RLESparseResourceAllocation: merge failed as the resulting RLESparseResourceAllocation would be negative` with a value near `Long.MIN_VALUE` (`-9223372036768375809`). - This PR only touches `JsonProviderFeature` in the ResourceManager. Nothing in `reservation/` uses it. Every other check is +1, including the router unit tests, and the other 3601 ResourceManager tests passed. Runs #1–#4 were all +1 overall. This is the known `TestCapacityOverTimePolicy` flakiness (YARN-7548, YARN-9450). It depends on the wall clock, because `BaseSharingPolicyTest` places reservations at `System.currentTimeMillis() % period`. Two PRs for it are pending: - #8815 (YARN-12022) fixes `CapacityOverTimePolicy#validate`. An allocation still open at the end of the check window was kept open until `Long.MAX_VALUE`, which overflowed the integral and wrongly rejected reservations within quota. That matches this failure. - #8814 (YARN-12023) makes `TestCapacityOverTimePolicy` independent of the time of day by fixing the period wrap-around in `BaseSharingPolicyTest#generateRLEAlloc`. Failure details: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8838/5/testReport/ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
