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

Make FSEditLogOp.MAX_OP_SIZE configurable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Today we ran into an issue where a NN had logged a very large op, greater than the 1.5MB MAX_OP_SIZE constant. In order to successfully load the edits, we had to patch with a larger constant. This constant should be configurable so that we wouldn't have to recompile in these odd cases. Additionally, I think the default should be bumped a bit higher, since it's only a safeguard against OOME, and people tend to run NNs with multi-GB heaps.

        Attachments

        1. HDFS-4304.005.patch
          15 kB
          Colin P. McCabe
        2. HDFS-4304.004.patch
          15 kB
          Colin P. McCabe
        3. HDFS-4304.003.patch
          15 kB
          Colin P. McCabe
        4. HDFS-4304.002.patch
          15 kB
          Colin P. McCabe
        5. HDFS-4304.001.patch
          14 kB
          Colin P. McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin P. McCabe
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: