You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Erik Krogen (JIRA)" <ji...@apache.org> on 2017/04/04 16:27:41 UTC

[jira] [Created] (HADOOP-14276) Add a nanosecond API to Time/Timer/FakeTimer

Erik Krogen created HADOOP-14276:
------------------------------------

             Summary: Add a nanosecond API to Time/Timer/FakeTimer
                 Key: HADOOP-14276
                 URL: https://issues.apache.org/jira/browse/HADOOP-14276
             Project: Hadoop Common
          Issue Type: Improvement
          Components: util
            Reporter: Erik Krogen
            Assignee: Erik Krogen
            Priority: Minor


Right now {{Time}}/{{Timer}} export functionality for retrieving time at a millisecond-level precision but not at a nanosecond-level precision, which is required for some applications (there's ~70 usages). Most of these seem not to need mocking functionality for tests; only one class currently mocks this out ({{LightWeightCache}}) but we would like to add another as part of HDFS-11615 and want to avoid code duplication. This could be useful for other classes in the future as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org