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

Checkpointing should use monotonic time when calculating period

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.5.0
    • namenode

    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

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

            Dates

              Created:
              Updated:
              Resolved: