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

RBF:NamenodeHeartbeatService caused memory to grow rapidly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • 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

      NamenodeHeartbeatService will get NameNode's HA status every 5s, and created HAServiceProtocol every time.

      When creating HAServiceProtocol, it also will new Configuration.
      Over time, there will be more and more entries for REGISTER in Configuration until fullGc happen.
      The entry will piles up again, after reaching a certain threshold, the fullGc is triggered again.

        Attachments

        1. HDFS-15238-002.patch
          2 kB
          xuzq
        2. HDFS-15238-003.patch
          2 kB
          Ayush Saxena
        3. HDFS-15238-trunk-001.patch
          2 kB
          xuzq

          Activity

            People

            • Assignee:
              xuzq_zander xuzq
              Reporter:
              xuzq_zander xuzq
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: