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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: