Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
There're many places uses Clock to time intervals, which is dangerous as commented by stevel@apache.org in HADOOP-12409. Instead, we should use hadoop.util.Timer#monotonicNow() to get monotonic time. Or we could provide a MonotonicClock in yarn.util considering the consistency of code.
Attachments
Attachments
Issue Links
- relates to
-
YARN-4403 (AM/NM/Container)LivelinessMonitor should use monotonic time when calculating period
- Resolved