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

SecondaryNameNode leaks NameCache entries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.23.4, 2.0.2-alpha, 3.0.0-alpha1
    • 2.0.3-alpha, 0.23.5
    • namenode
    • None

    Description

      We recently saw an issue where a 2NN ran out of memory, even though it had a relatively small fsimage. When we looked at the heap dump, we saw that all of the memory had gone to entries in the NameCache.

      It appears that the NameCache is staying in "initializing" mode forever, and therefore a long running 2NN leaks entries.

      Attachments

        1. HDFS-4182.txt
          5 kB
          Robert Joseph Evans
        2. HDFS-4182.txt
          5 kB
          Robert Joseph Evans
        3. HDFS-4182.txt
          5 kB
          Robert Joseph Evans
        4. HDFS-4182.txt
          3 kB
          Robert Joseph Evans
        5. HDFS-4182-branch-0.23.txt
          5 kB
          Robert Joseph Evans

        Activity

          People

            revans2 Robert Joseph Evans
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: