Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6461

Use Time#monotonicNow to compute duration in DataNode#shutDown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • datanode
    • None

    Description

      The system time can move around for various reasons, so we convert to monotonicNow to ensure greater accuracy when computing a duration in this method.

      Attachments

        1. HDFS-6461.patch
          0.8 kB
          James Thomas
        2. HDFS-6461.patch
          1 kB
          James Thomas
        3. HDFS-6461.3.patch
          1 kB
          James Thomas

        Activity

          People

            james.thomas James Thomas
            james.thomas James Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: