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. editLogBuf.patch
        23 kB
        Hairong Kuang
      2. editLogBuf1.patch
        24 kB
        Hairong Kuang
      3. editLogBuf2.patch
        15 kB
        Hairong Kuang
      4. editLogBuf3.patch
        13 kB
        Hairong Kuang

        Issue Links

          Activity

          Hairong Kuang created issue -
          Hairong Kuang made changes -
          Field Original Value New Value
          Assignee Hairong Kuang [ hairong ]
          Hairong Kuang made changes -
          Attachment editLogBuf.patch [ 12444452 ]
          Hairong Kuang made changes -
          Attachment editLogBuf1.patch [ 12444821 ]
          Hairong Kuang made changes -
          Attachment editLogBuf2.patch [ 12444964 ]
          Hairong Kuang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hairong Kuang made changes -
          Attachment editLogBuf3.patch [ 12445114 ]
          Konstantin Shvachko made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Konstantin Shvachko made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hadoop Flags [Reviewed]
          Hairong Kuang made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Hairong Kuang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hairong Kuang made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Todd Lipcon made changes -
          Link This issue relates to HDFS-3020 [ HDFS-3020 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development