Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-4182

SecondaryNameNode leaks NameCache entries

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.4, 3.0.0, 2.0.2-alpha
    • Fix Version/s: 2.0.3-alpha, 0.23.5
    • Component/s: namenode
    • Labels:
      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.

      1. HDFS-4182.txt
        3 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
        5 kB
        Robert Joseph Evans
      5. HDFS-4182-branch-0.23.txt
        5 kB
        Robert Joseph Evans

        Activity

          People

          • Assignee:
            Robert Joseph Evans
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development