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

Use Time.monotonicNow() in Shell.java instead of Time.now()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Use Time.monotonicNow() instead of Time.now() in Shell.java to keep track of the last executed time.

      Using Time.monotonicNow() in elapsed time calculation usecases will be accurate and safe from system time changes.

        Attachments

        1. HADOOP-11271-001.patch
          1 kB
          Vinayakumar B

          Activity

            People

            • Assignee:
              vinayakumarb Vinayakumar B
              Reporter:
              vinayakumarb Vinayakumar B
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: