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

SlowDiskReport won't update when SlowDisks is always empty in heartbeat

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I found SlowDiskReport won't update when slowDisks is always empty in org.apache.hadoop.hdfs.server.blockmanagement.handleHeartbeat, this may lead to outdated SlowDiskReport alway staying in jmx of namenode until next time slowDisks isn't empty. So i think this method checkAndUpdateReportIfNecessary() should be called firstly when we want to get the jmx information about SlowDiskReport, this can keep the SlowDiskReport on jmx alway valid. 

       

        Attachments

        1. HDFS-14612.patch
          2 kB
          Haibin Huang
        2. HDFS-14612-001.patch
          2 kB
          Haibin Huang
        3. HDFS-14612-002.patch
          4 kB
          Haibin Huang
        4. HDFS-14612-003.patch
          4 kB
          Haibin Huang
        5. HDFS-14612-004.patch
          4 kB
          Haibin Huang
        6. HDFS-14612-005.patch
          4 kB
          Haibin Huang
        7. HDFS-14612-006.patch
          3 kB
          Haibin Huang
        8. HDFS-14612-007.patch
          5 kB
          Haibin Huang
        9. HDFS-14612-008.patch
          6 kB
          Haibin Huang

          Activity

            People

            • Assignee:
              huanghaibin Haibin Huang
              Reporter:
              huanghaibin Haibin Huang
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: