Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1112

Edit log buffer should not grow unboundedly

    Details

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

      Description

      Currently HDFS does not impose an upper limit on the edit log buffer. In case there are a large number of open operations coming in with access time update on, since open does not call sync automatically, there is a possibility that the buffer grow to a large size, therefore causes memory leak and full GC in extreme cases as described in HDFS-1104.

      The edit log buffer should be automatically flushed when the buffer becomes full.

      1. editLogBuf3.patch
        13 kB
        Hairong Kuang
      2. editLogBuf2.patch
        15 kB
        Hairong Kuang
      3. editLogBuf1.patch
        24 kB
        Hairong Kuang
      4. editLogBuf.patch
        23 kB
        Hairong Kuang

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Hairong Kuang
              Reporter:
              Hairong Kuang
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development