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

Use Time#monotonicNow to compute duration in DataNode#shutDown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.0
    • Component/s: datanode
    • Labels:
      None
    • Target Version/s:

      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

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

              Dates

              • Due:
                Created:
                Updated:
                Resolved: