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

Make FSEditLogOp.MAX_OP_SIZE configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3-alpha, 3.0.0-alpha1
    • 2.1.0-beta
    • namenode
    • None
    • 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.001.patch
          14 kB
          Colin McCabe
        2. HDFS-4304.002.patch
          15 kB
          Colin McCabe
        3. HDFS-4304.003.patch
          15 kB
          Colin McCabe
        4. HDFS-4304.004.patch
          15 kB
          Colin McCabe
        5. HDFS-4304.005.patch
          15 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: