Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17600

Time.monotonicNow() should be used to compute time interval, but not Time.now()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.0
    • None
    • common
    • Patch

    Description

      According to the specification of method Time.now() and Time.monotonicNow(), the latter should be used for measuring durations.

      Attachments

        1. HADOOP-17600.patch
          9 kB
          Jiajun Jiang

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Jack01 Jiajun Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m