Ronald Macmaster created YARN-11926:
---------------------------------------
Summary: hadoop-yarn-server-resourcemanager:
TestRMWebServicesReservation fails due to outdated timestamps
Key: YARN-11926
URL: https://issues.apache.org/jira/browse/YARN-11926
Project: Hadoop YARN
Issue Type: Bug
Components: resourcemanager
Affects Versions: 3.4.1
Reporter: Ronald Macmaster
We've noticed consistent build failures for this test class on the hadoop 3.4
branch.
It looks like timestamps that were chosen 10 years into the future around 2015
have now expired as of late 2025.
Tweaking these timestamps in update-reservation.json to a much later date seems
to fix the test class run locally, but it doesn't seem like the most
future-proof solution. Nonetheless, it would be a palatable and trivial fix.
A better way to solve this might also be to use offsets from the current system
time in the test class.
[outdated
timestamps|https://github.com/apache/hadoop/blob/8222ac0f546911b387b6a141e06dd8bf5306d565/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/resources/update-reservation.json#L6-L7]
that fail TestRMWebServicesReservation.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]