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

Checkpointing should use monotonic time when calculating period

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.5.0
    • Component/s: namenode
    • Labels:
    • Target Version/s:

      Description

      Both StandbyCheckpointer and SecondaryNameNode use Time.now rather than Time.monotonicNow to calculate how long it's been since the last checkpoint. This can lead to issues when the system time is changed.

        Attachments

        1. HDFS-5591.005.patch
          4 kB
          Charles Lamb
        2. HDFS-5591.004.patch
          4 kB
          Charles Lamb
        3. HDFS-5591.003.patch
          3 kB
          Charles Lamb
        4. HDFS-5591.002.patch
          3 kB
          Charles Lamb
        5. HDFS-5591.001.patch
          2 kB
          Charles Lamb

          Activity

            People

            • Assignee:
              clamb Charles Lamb
              Reporter:
              andrew.wang Andrew Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: